Closed lungben closed 4 years ago
I think I might need to update some of the project related files (since they are mostly based on a pre 1.0 setup) - let me take a look so I can then merge this! Thanks again for the contribution!!
Actually I will go ahead and merge it and deal with the build afterwards.
Added constructor without arguments for linear interpolator (e.g. for usage in curve constructors). This is similar to the already existing parameter-less constructor for LogLinear. I found it useful for QuantLib.InterpolatedDiscountCurve, when the curve is not a discount curve but e.g. a FX forward curve. Added test cases for linear and log-linear interpolation.