Fix valence negatove doesn't show up
This commit is contained in:
parent
f8ce40680e
commit
2c087f0bda
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ public:
|
|||
{
|
||||
for (std::string name : names)
|
||||
{
|
||||
if ((*first) > 5.0f)
|
||||
if (std::abs(*first) > 5.0f)
|
||||
{
|
||||
char m[50];
|
||||
sprintf(m, "%s: %3.2f", name.c_str(), (*first));
|
||||
|
|
Loading…
Reference in a new issue