We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4af388a commit a28ea5fCopy full SHA for a28ea5f
1 file changed
OREData/ored/utilities/marketdata.cpp
@@ -75,7 +75,7 @@ Handle<YieldTermStructure> indexOrYieldCurve(const QuantLib::ext::shared_ptr<Mar
75
const std::string& configuration) {
76
if (name == "NULLCURVE") {
77
return Handle<YieldTermStructure>(
78
- QuantLib::ext::make_shared<QuantLib::FlatForward>(market->asofDate(), 0.0, Actual365Fixed()));
+ QuantLib::ext::make_shared<QuantLib::FlatForward>(0, NullCalendar(), 0.0, Actual365Fixed()));
79
}
80
try {
81
return market->iborIndex(name, configuration)->forwardingTermStructure();
0 commit comments