clarify % ? precedence to quell warning

This commit is contained in:
Arne Morten Kvarving
2018-07-16 13:42:50 +02:00
parent ae437552d9
commit f1f95f9b7b

View File

@@ -1762,7 +1762,7 @@ namespace utl //! General utility classes and functions.
if (X.size() < 1)
s <<" (empty)";
else for (size_t i = 0; i < X.size(); i++)
s << (i%nval_per_line ? ' ':'\n') << trunc(X[i]);
s << ((i%nval_per_line) ? ' ':'\n') << trunc(X[i]);
return s << std::endl;
}