OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › Bug Reports › compile error › Reply To: compile error November 2, 2021 at 11:46 am #6136 AdrianKeymaster Ah, sorry. This should work for shared pointer based functor / indicator arithmetic. i.e. you can rewrite it to wrap all indicators in std::shared_ptr.