We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 292b9d5 commit 0cea618Copy full SHA for 0cea618
1 file changed
OREAnalytics/orea/app/inputparameters.cpp
@@ -192,6 +192,11 @@ void InputParameters::setScenarioSimMarketParamsFromFile(const std::string& file
192
scenarioSimMarketParams_->fromFile(fileName);
193
}
194
195
+void InputParameters::setHistVarSimMarketParams(const std::string& xml) {
196
+ histVarSimMarketParams_ = QuantLib::ext::make_shared<ScenarioSimMarketParameters>();
197
+ histVarSimMarketParams_->fromXMLString(xml);
198
+}
199
+
200
void InputParameters::setHistVarSimMarketParamsFromFile(const std::string& fileName) {
201
histVarSimMarketParams_ = QuantLib::ext::make_shared<ScenarioSimMarketParameters>();
202
histVarSimMarketParams_->fromFile(fileName);
0 commit comments