Commit 14a7eed8 authored by incardon's avatar incardon
Browse files

Fixing IO

parent d8ec1fd3
Pipeline #3474 failed with stages
in 5 minutes and 13 seconds
......@@ -531,7 +531,7 @@ struct meta_prop
// if there is the next element
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
++it;
......@@ -773,7 +773,7 @@ struct meta_prop_new
// if there is the next element
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
++it;
......
......@@ -54,7 +54,7 @@ struct vtk_dims
//! dimensionality of the vtk property (scalar)
enum
{
value = 0
value = 1
};
};
......
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