Skip to content

Commit 39772a1

Browse files
author
sebastien.bouvard
committed
QPR-13799 Supress Error Message
1 parent 3cdb30e commit 39772a1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

OREAnalytics/orea/engine/correlationreport.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ void CorrelationReport::calculate(const ext::shared_ptr<Report>& report) {
3535
ext::shared_ptr<Scenario> sc = hisScenGen_->next(hisScenGen_->baseScenario()->asof());
3636
std::vector<RiskFactorKey> deltaKeys = sc->keys();
3737

38-
// Filter deltaKeys to the union with risk factors generated from the portfolio based on (KeyType, Name)
39-
// i.e., keep only those deltaKeys present in ptfRiskFactors ignoring index
40-
// populateSensiShifts iterate over the scenario and deltaKeys, if mismatch with the sensiScenarioData shift
41-
// it throws an error.
38+
// Discrepancy between scenario risk factors and shift risk factors
4239
bool supressError = true;
4340

4441
ext::shared_ptr<NPVCube>cube;

0 commit comments

Comments
 (0)