diff --git a/openfpm_numerics b/openfpm_numerics index bd5a0956710058ae08274624d2e6a3df44b893fd..d3c943bd8fe89ab1688e734792cbafdd42abfd46 160000 --- a/openfpm_numerics +++ b/openfpm_numerics @@ -1 +1 @@ -Subproject commit bd5a0956710058ae08274624d2e6a3df44b893fd +Subproject commit d3c943bd8fe89ab1688e734792cbafdd42abfd46 diff --git a/src/Grid/staggered_dist_grid.hpp b/src/Grid/staggered_dist_grid.hpp index 5c3999cd6c34e85271e8422c295635e6c1d16d21..537f5dec8bfd18a7fb365be6e06e0d98a674af0b 100644 --- a/src/Grid/staggered_dist_grid.hpp +++ b/src/Grid/staggered_dist_grid.hpp @@ -160,7 +160,7 @@ public: template<unsigned int p> void setStagPosition(openfpm::vector<comb<dim>> & cmb) { #ifdef SE_CLASS1 - if (extends< typename boost::mpl::at<typename T::type,boost::mpl::int_<p> >::type >::mul() != cmb.size()) + if (extends< typename boost::mpl::at<typename T::type,boost::mpl::int_<p> >::type >::mul() > cmb.size()) std::cerr << __FILE__ << ":" << __LINE__ << " error properties has " << extends< typename boost::mpl::at<typename T::type,boost::mpl::int_<p> >::type >::mul() << " components, but " << cmb.size() << "has been defined \n"; #endif c_prp[p] = cmb;