Skip to content

Make master compile in DEBUG mode again

Marcus Mohr requested to merge mohr/bugfix into master

P1ToP2SurrogateOperator::apply() was testing for

WALBERLA_ASSERT_NOT_IDENTICAL(std::addressof(src), std::addressof(dst));

However, as src is a P1Function and dst a P2Function this cannot be the case. Leads to a compiler error in debug mode due to "comparison of distinct pointer types".

Consequently not all apps could be compiled in DEBUG mode.

Edited by Marcus Mohr

Merge request reports