Fix build broken by previous patch #592

This commit is contained in:
theoreticalbts 2016-03-15 15:58:02 -04:00
parent 4b346579a8
commit ee3f81fa31

View file

@ -2183,7 +2183,8 @@ public:
//ss << n;
if (abs( round( n ) - n ) < 0.00000000001 )
{
ss << setiosflags( !ios::fixed ) << (int) n;
//ss << setiosflags( !ios::fixed ) << (int) n; // doesn't compile on Linux with gcc
ss << (int) n;
}
else if (n - floor(n) < 0.000001)
{