QuantLib
QuantLib copied to clipboard
MultiCubicSpline references an out-of-scope temporary if ae is defaulted in ctor
https://github.com/lballabio/QuantLib/blob/50ab670d72c3b64d07c7a8dd7f6a43582604f3f9/ql/math/interpolations/multicubicspline.hpp#L496
We might change the member to a non-reference type or change the ctor argument to optional<vector
Yes, we can probably make that member a non-reference.
Yep, that's a good solution I think.
This issue was automatically marked as stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in two weeks.