Skip to content
Snippets Groups Projects
Commit 1e190f9f authored by Roman Winter's avatar Roman Winter
Browse files

[cleanup] remove braces

parent 7f47b54a
No related branches found
No related tags found
1 merge request!105Cleanup/release 3.3
...@@ -332,20 +332,14 @@ public: ...@@ -332,20 +332,14 @@ public:
// assume brine with viscosity effect of Ca for the liquid phase. // assume brine with viscosity effect of Ca for the liquid phase.
if (phaseIdx == liquidPhaseIdx) if (phaseIdx == liquidPhaseIdx)
{
return Brine::liquidViscosity(temperature, pressure); return Brine::liquidViscosity(temperature, pressure);
}
// assume pure CO2 for the gas phase. // assume pure CO2 for the gas phase.
else if (phaseIdx == gasPhaseIdx) else if (phaseIdx == gasPhaseIdx)
{
return CO2::gasViscosity(temperature, pressure); return CO2::gasViscosity(temperature, pressure);
}
else else
{
DUNE_THROW(Dune::InvalidStateException, "Invalid phase index " << phaseIdx); DUNE_THROW(Dune::InvalidStateException, "Invalid phase index " << phaseIdx);
}
} }
......
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