Hello,
Does anyone have an idea why the following code line
optionInterpolator_= LinearInterpolation(optionTimes_.begin(), optionTimes_.end(),
optionDatesAsReal_.begin());
where optionInterpolator_
is declared as
LinearInterpolation optionInterpolator_;
And inputs are declared as
mutable std::vector<Date> optionDates_;
mutable std::vector<Time> optionTimes_;
triggers the compile error
'QuantLib::LinearInterpolation' : no appropriate default constructor available
Thanks,
Pierre
| Free forum by Nabble | Edit this page |