Open matekelemen opened 2 weeks ago
Table::GetValue continues on the last (or first) slope if the input value is out of bounds, but Table::GetDerivative returns 0 in these regions.
Table::GetValue
Table::GetDerivative
0
This PR makes the behaviour of Table::GetDerivative consistent with Table::GetValue.
can you add a test please?
It has been fixed by #12477 (thanks to @sunethwarna for reviewing and approving).
Table::GetValue
continues on the last (or first) slope if the input value is out of bounds, butTable::GetDerivative
returns0
in these regions.This PR makes the behaviour of
Table::GetDerivative
consistent withTable::GetValue
.