Skip to content
Snippets Groups Projects
Commit aa3154bb authored by i-bird's avatar i-bird
Browse files

Fixing IO for grids

parent 306ac1e6
No related branches found
No related tags found
No related merge requests found
Pipeline #3059 failed
......@@ -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));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment