Skip to content
Snippets Groups Projects
Commit 58205fe5 authored by Katharina Heck's avatar Katharina Heck
Browse files

[cleanup] fix warning, set default for switch

parent 0ac06881
No related branches found
No related tags found
1 merge request!1206Feature/restart for mineralization
...@@ -165,6 +165,7 @@ struct TwoPNCModelTraits ...@@ -165,6 +165,7 @@ struct TwoPNCModelTraits
return pvIdx == 0 ? "p_w" : p0s1SwitchedPvNames[state-1]; return pvIdx == 0 ? "p_w" : p0s1SwitchedPvNames[state-1];
case TwoPFormulation::p1s0: case TwoPFormulation::p1s0:
return pvIdx == 0 ? "p_n" : p1s0SwitchedPvNames[state-1]; return pvIdx == 0 ? "p_n" : p1s0SwitchedPvNames[state-1];
default: DUNE_THROW(Dune::InvalidStateException, "Invalid formulation ");
} }
} }
}; };
......
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