Skip to content

Commit

Permalink
Fix bug in getExistingHelpers for ConvexMonotone interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
igitur committed Jan 30, 2018
1 parent 7abac70 commit 7ebd482
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ public override double secondDerivative(double x) {
public Dictionary<double, ISectionHelper> getExistingHelpers() {
Dictionary<double, ISectionHelper> retArray = new Dictionary<double,ISectionHelper>(sectionHelpers_);
if (constantLastPeriod_)
retArray.Remove(xBegin_.Last());
retArray.Remove(retArray.Keys.Last());
return retArray;
}
}
Expand Down

0 comments on commit 7ebd482

Please sign in to comment.