Commit fc79efb6 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

corrected bug with stream and ?: operator

parent dbdb6587
......@@ -60,7 +60,7 @@ void PvdWriter<W>
out << "<VTKFile"
<< " type=\"Collection\""
<< " version=\"0.1\""
<< (format_ != Vtk::ASCII ? " byte_order=\"" << vtkWriter_.getEndian() << "\"" : "")
<< (format_ != Vtk::ASCII ? " byte_order=\"" + vtkWriter_.getEndian() + "\"" : "")
<< (format_ == Vtk::COMPRESSED ? " compressor=\"vtkZLibDataCompressor\"" : "")
<< ">\n";
......
Supports Markdown
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