Fix valence negatove doesn't show up

This commit is contained in:
Abdelrahman Mahmoud 2016-06-05 23:33:27 -04:00
parent f8ce40680e
commit 2c087f0bda
1 changed files with 1 additions and 1 deletions

View File

@ -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));