Skip to content
Snippets Groups Projects
Commit 14a7eed8 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing IO

parent d8ec1fd3
No related branches found
No related tags found
No related merge requests found
Pipeline #3474 failed
...@@ -531,7 +531,7 @@ struct meta_prop ...@@ -531,7 +531,7 @@ struct meta_prop
// if there is the next element // if there is the next element
while (it.isNext()) while (it.isNext())
{ {
prop_write_out<vtk_dims<T>::value,T>::template write<decltype(vg),decltype(it),I>(stream_out,vg,k,it,ft); prop_write_out<vtk_dims<T>::value != 1,T>::template write<decltype(vg),decltype(it),I>(stream_out,vg,k,it,ft);
// increment the iterator and counter // increment the iterator and counter
++it; ++it;
...@@ -773,7 +773,7 @@ struct meta_prop_new ...@@ -773,7 +773,7 @@ struct meta_prop_new
// if there is the next element // if there is the next element
while (it.isNext()) while (it.isNext())
{ {
prop_write_out_new<vtk_dims<T>::value,T>::template write<decltype(vg),decltype(it),I>(v_outToEncode_,vg,k,it,ft); prop_write_out_new<vtk_dims<T>::value != 1,T>::template write<decltype(vg),decltype(it),I>(v_outToEncode_,vg,k,it,ft);
// increment the iterator and counter // increment the iterator and counter
++it; ++it;
......
...@@ -54,7 +54,7 @@ struct vtk_dims ...@@ -54,7 +54,7 @@ struct vtk_dims
//! dimensionality of the vtk property (scalar) //! dimensionality of the vtk property (scalar)
enum enum
{ {
value = 0 value = 1
}; };
}; };
......
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