Skip to content

Commit 11ac434

Browse files
committed
Call getter for sectionDependentScalar.
1 parent 8fc3aaf commit 11ac434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcadet/model/StirredTankModel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ void CSTRModel::notifyDiscontinuousSectionTransition(double t, unsigned int secI
420420
{
421421
if (_flowRateFilter.size() > 1)
422422
{
423-
_curFlowRateFilter = _flowRateFilter[secIdx];
423+
_curFlowRateFilter = getSectionDependentScalar(_flowRateFilter, secIdx);
424424
}
425425
else if (_flowRateFilter.size() == 1)
426426
{

0 commit comments

Comments
 (0)