Fix build broken by previous patch #592
This commit is contained in:
parent
4b346579a8
commit
ee3f81fa31
1 changed files with 2 additions and 1 deletions
|
|
@ -2183,7 +2183,8 @@ public:
|
||||||
//ss << n;
|
//ss << n;
|
||||||
if (abs( round( n ) - n ) < 0.00000000001 )
|
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)
|
else if (n - floor(n) < 0.000001)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue