Skip to content

Commit a28ea5f

Browse files
committed
QPR-13668 floating reference date
1 parent 4af388a commit a28ea5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OREData/ored/utilities/marketdata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Handle<YieldTermStructure> indexOrYieldCurve(const QuantLib::ext::shared_ptr<Mar
7575
const std::string& configuration) {
7676
if (name == "NULLCURVE") {
7777
return Handle<YieldTermStructure>(
78-
QuantLib::ext::make_shared<QuantLib::FlatForward>(market->asofDate(), 0.0, Actual365Fixed()));
78+
QuantLib::ext::make_shared<QuantLib::FlatForward>(0, NullCalendar(), 0.0, Actual365Fixed()));
7979
}
8080
try {
8181
return market->iborIndex(name, configuration)->forwardingTermStructure();

0 commit comments

Comments
 (0)