Skip to content

Commit 2a1fc5c

Browse files
committed
QPR-13647 fixes
1 parent 2376b5b commit 2a1fc5c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

OREData/ored/marketdata/inflationcurve.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ InflationCurve::CurveBuildResults
316316
results.cashflowGenerators.push_back(
317317
std::function<std::vector<TradeCashflowReportData>()>([instrument, index, asof, nominalTs]() {
318318
return getCashflowReportData(
319-
{instrument->swap()->leg(0), instrument->swap()->leg(1)}, {false, true}, {1.0E6, 1.0E6},
319+
{instrument->swap()->leg(0), instrument->swap()->leg(1)}, {false, true}, {1.0, 1.0},
320320
index->currency().code(), {index->currency().code(), index->currency().code()}, asof,
321321
{*nominalTs, *nominalTs}, {1.0, 1.0}, {}, {}, {"Interest", ""}, {1.0E6, 1.0E6});
322322
}));

OREData/ored/marketdata/yieldcurve.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2373,9 +2373,9 @@ void YieldCurve::addOISs(const std::size_t index, const QuantLib::ext::shared_pt
23732373
: *oisHelper->swap()->iborIndex()->forwardingTermStructure();
23742374
return getCashflowReportData(
23752375
{oisHelper->swap()->fixedLeg(), oisHelper->swap()->floatingLeg()}, {false, true},
2376-
{1.0, 1.0}, currency_[index].code(),
2377-
{currency_[index].code(), currency_[index].code()}, asofDate_,
2378-
{dsc, dsc}, {1.0, 1.0}, {}, {});
2376+
{1.0E6, 1.0E6}, currency_[index].code(),
2377+
{currency_[index].code(), currency_[index].code()}, asofDate_, {dsc, dsc}, {1.0, 1.0},
2378+
{}, {});
23792379
}}});
23802380
} else {
23812381
auto oisHelper = QuantLib::ext::make_shared<QuantExt::DatedOISRateHelper>(

0 commit comments

Comments
 (0)