Skip to content

Commit

Permalink
CVODE solver: the absolute tolerance can be equal to zero.
Browse files Browse the repository at this point in the history
For some reasons, the absolute tolerance had to be greater than zero while like the relative tolerance it can be greater or equal to zero.
  • Loading branch information
agarny committed Jun 30, 2021
1 parent bc9e4cd commit f917aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/solver/CVODESolver/src/cvodesolverplugin.cpp
Expand Up @@ -286,7 +286,7 @@ Solver::Properties CVODESolverPlugin::solverProperties() const
Solver::Property(Solver::Property::Type::IntegerGe0, UpperHalfBandwidthId, UpperHalfBandwidthDescriptions, {}, UpperHalfBandwidthDefaultValue, false),
Solver::Property(Solver::Property::Type::IntegerGe0, LowerHalfBandwidthId, LowerHalfBandwidthDescriptions, {}, LowerHalfBandwidthDefaultValue, false),
Solver::Property(Solver::Property::Type::DoubleGe0, RelativeToleranceId, RelativeToleranceDescriptions, {}, RelativeToleranceDefaultValue, false),
Solver::Property(Solver::Property::Type::DoubleGt0, AbsoluteToleranceId, AbsoluteToleranceDescriptions, {}, AbsoluteToleranceDefaultValue, false),
Solver::Property(Solver::Property::Type::DoubleGe0, AbsoluteToleranceId, AbsoluteToleranceDescriptions, {}, AbsoluteToleranceDefaultValue, false),
Solver::Property(Solver::Property::Type::Boolean, InterpolateSolutionId, InterpolateSolutionDescriptions, {}, InterpolateSolutionDefaultValue, false) };
}

Expand Down

0 comments on commit f917aba

Please sign in to comment.