Commit aa3154bb authored by i-bird's avatar i-bird
Browse files

Fixing IO for grids

parent 306ac1e6
Pipeline #3059 failed with stages
in 14 minutes and 54 seconds
......@@ -930,7 +930,7 @@ template<unsigned int dims,typename T> inline void output_point(Point<dims,T> &
{
// we use float so we have to convert to float
auto tmp = p.get(i);
//tmp = swap_endian_lt(tmp);
tmp = swap_endian_lt(tmp);
v_out.write((const char *)&tmp,sizeof(tmp));
}
for ( ; i < 3 ; i++)
......@@ -939,7 +939,7 @@ template<unsigned int dims,typename T> inline void output_point(Point<dims,T> &
/* coverity[dead_error_begin] */
T tmp = 0.0;
//tmp = swap_endian_lt(tmp);
tmp = swap_endian_lt(tmp);
v_out.write((const char *)&tmp,sizeof(tmp));
}
}
......
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