Skip to content
Snippets Groups Projects
Commit 711b6ef8 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[tutorial][ex3] fix assertion in fluid system

parent ba2cf97a
No related branches found
No related tags found
1 merge request!600[WIP][components][plotproperties] Add a source file to plot properties of some components
...@@ -279,7 +279,8 @@ public: ...@@ -279,7 +279,8 @@ public:
int compJIdx) int compJIdx)
{ {
assert(0 <= phaseIdx && phaseIdx < numPhases); assert(0 <= phaseIdx && phaseIdx < numPhases);
assert(0 <= compIdx && compIdx < numComponents); assert(0 <= compIIdx && compIIdx < numComponents);
assert(0 <= compJIdx && compJIdx < numComponents);
const Scalar T = fluidState.temperature(phaseIdx); const Scalar T = fluidState.temperature(phaseIdx);
const Scalar p = fluidState.pressure(phaseIdx); const Scalar p = fluidState.pressure(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