Skip to content

OptimizationProblem.interpolate: Guard against out-of-bounds array access

Jorn Baayen requested to merge interpolation-fix into master

In particular cases, divmod can return close-to-zero residuals. We needed to add an additional check to correctly handle this happening at the final data point.

Merge request reports