Skip to content

Commit 20da5b7

Browse files
pcaspersjenkins
authored andcommitted
QPR-12487 rename env var
1 parent e6548e6 commit 20da5b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OREAnalytics/orea/engine/xvaenginecg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ XvaEngineCG::XvaEngineCG(const Size nThreads, const Date& asof,
8181

8282
// Just for performance testing, duplicate the trades in input portfolio as specified by env var N
8383

84-
if (auto param_N = getenv("N")) {
84+
if (auto param_N = getenv("XVA_ENGINE_CG_N")) {
8585
portfolio_ = QuantLib::ext::make_shared<Portfolio>();
8686
std::string pfxml = portfolio->toXMLString();
8787
for (Size i = 0; i < atoi(param_N); ++i) {

0 commit comments

Comments
 (0)