Skip to content
Snippets Groups Projects
Commit ed7b8202 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[test][2ptracer] Use constexr if

parent 38b469b3
No related branches found
No related tags found
1 merge request!1607Feature/new materiallaw 2p
......@@ -107,8 +107,8 @@ int main(int argc, char** argv)
auto pOld = p;
// maybe update the interface parameters
if (ENABLEINTERFACESOLVER)
twoPProblem->spatialParams().updateMaterialInterfaceParams(p);
if constexpr (ENABLEINTERFACESOLVER)
twoPProblem->spatialParams().updateMaterialInterfaces(p);
// the grid variables
using TwoPGridVariables = GetPropType<TwoPTypeTag, Properties::GridVariables>;
......
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