Commit 4702a728 authored by Abhinav Singh's avatar Abhinav Singh
Browse files

uncommenting swap endian

parent 88095d30
Pipeline #3065 failed with stages
in 2 minutes and 4 seconds
......@@ -987,7 +987,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++)
......@@ -996,7 +996,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