Skip to content

Commit ab4e34c

Browse files
committed
-changed evaluateAll in Cvode to evaluate evaluateODE
1 parent 9573413 commit ab4e34c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SimulationRuntime/cpp/Solver/CVode/CVode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ int Cvode::calcFunction(const double& time, const double* y, double* f)
697697
f[0] = 0.0; // in case of dummy state
698698
_time_system->setTime(time);
699699
_continuous_system->setContinuousStates(y);
700-
_continuous_system->evaluateAll(IContinuous::CONTINUOUS);
700+
_continuous_system->evaluateODE(IContinuous::CONTINUOUS);
701701
_continuous_system->getRHS(f);
702702
_numberOfOdeEvaluations++;
703703
} //workaround until exception can be catch from c- libraries

0 commit comments

Comments
 (0)