Skip to content

Commit ec223f2

Browse files
pcaspersjenkins
authored andcommitted
missing registration, missing parameter
1 parent f643c5a commit ec223f2

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

OREData/ored/portfolio/builders/swaption.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ boost::shared_ptr<PricingEngine> buildMcEngine(const std::function<string(string
5151
parsePolynomType(engineParameters("Training.BasisFunction")),
5252
parseSobolBrownianGeneratorOrdering(engineParameters("BrownianBridgeOrdering")),
5353
parseSobolRsgDirectionIntegers(engineParameters("SobolDirectionIntegers")), discountCurve, simulationDates,
54-
externalModelIndices, parseBool(engineParameters("MinObsDate")));
54+
externalModelIndices, parseBool(engineParameters("MinObsDate")),
55+
parseRegressorModel(engineParameter("RegressorModel", {}, false, "Simple")));
5556
}
5657
} // namespace
5758

OREData/ored/utilities/initbuilders.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,8 @@
198198
#include <ored/portfolio/windowbarrieroption.hpp>
199199
#include <ored/portfolio/worstofbasketswap.hpp>
200200

201-
#include <qle/math/openclenvironment.hpp>
202201
#include <qle/math/basiccpuenvironment.hpp>
202+
#include <qle/math/openclenvironment.hpp>
203203

204204
#include <boost/thread/lock_types.hpp>
205205
#include <boost/thread/shared_mutex.hpp>
@@ -357,7 +357,7 @@ void initBuilders() {
357357
ORE_REGISTER_TRADE_BUILDER("DoubleDigitalOption", DoubleDigitalOption, false)
358358
ORE_REGISTER_TRADE_BUILDER("PerformanceOption_01", PerformanceOption_01, false)
359359
ORE_REGISTER_TRADE_BUILDER("RiskParticipationAgreement", RiskParticipationAgreement, false)
360-
360+
361361
ORE_REGISTER_LEGBUILDER("CommodityFixedLegBuilder", CommodityFixedLegBuilder, false)
362362
ORE_REGISTER_LEGBUILDER("CommodityFloatingLegBuilder", CommodityFloatingLegBuilder, false)
363363
ORE_REGISTER_LEGBUILDER("DurationAdjustedCmsLegBuilder", DurationAdjustedCmsLegBuilder, false)
@@ -381,6 +381,7 @@ void initBuilders() {
381381
ORE_REGISTER_AMC_ENGINE_BUILDER(CamAmcSwapEngineBuilder, false)
382382
ORE_REGISTER_AMC_ENGINE_BUILDER(CamAmcFxOptionEngineBuilder, false)
383383
ORE_REGISTER_AMC_ENGINE_BUILDER(CamAmcFxForwardEngineBuilder, false)
384+
ORE_REGISTER_AMC_ENGINE_BUILDER(CamAmcMultiLegOptionEngineBuilder, false)
384385
ORE_REGISTER_AMC_ENGINE_BUILDER(ScriptedTradeEngineBuilder, false)
385386

386387
ORE_REGISTER_AMCCG_ENGINE_BUILDER(ScriptedTradeEngineBuilder, false)
@@ -487,6 +488,7 @@ void initBuilders() {
487488
ORE_REGISTER_ENGINE_BUILDER(AscotIntrinsicEngineBuilder, false)
488489
ORE_REGISTER_ENGINE_BUILDER(ConvertibleBondFDDefaultableEquityJumpDiffusionEngineBuilder, false)
489490
ORE_REGISTER_ENGINE_BUILDER(CboMCEngineBuilder, false)
491+
ORE_REGISTER_ENGINE_BUILDER(CamMcMultiLegOptionEngineBuilder, false)
490492

491493
ORE_REGISTER_ENGINE_BUILDER(ScriptedTradeEngineBuilder, false)
492494
ORE_REGISTER_ENGINE_BUILDER(AsianOptionScriptedEngineBuilder, false)

0 commit comments

Comments
 (0)