Only observed on Windows so far. A length of 0.743 fails with the message "Error: bad_function_call". The problem is in ProfileCurve::::operator()(double arg) and find_interval(...) where the comparison 0.743 <= 0.743 returns false.
A possible solution would be to allow arguments that exceed the domain of the function and just extrapolate. Do the same for the cubic splines.
Only observed on Windows so far. A length of 0.743 fails with the message "Error: bad_function_call". The problem is in
ProfileCurve::::operator()(double arg)
andfind_interval(...)
where the comparison0.743 <= 0.743
returnsfalse
.A possible solution would be to allow arguments that exceed the domain of the function and just extrapolate. Do the same for the cubic splines.