Commit dadc03cc authored by Backofen, Rainer's avatar Backofen, Rainer
Browse files

be careful with priority of ? operator

parent aeadcd83
......@@ -250,7 +250,7 @@ namespace AMDiS { namespace io {
<< " </PCells>\n";
file << " <PPointData>\n";
for (size_t i = 0; i < writeAsVector ? 1 : componentNames.size(); i++) {
for (size_t i = 0; i < (writeAsVector ? 1 : componentNames.size()); i++) {
if(highPrecision && format != ::AMDiS::io::VtkWriter::ASCII)
file << " <PDataArray type=\"Float64\" Name=\"";
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment