We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5a6e30 commit 1c28562Copy full SHA for 1c28562
1 file changed
OREData/ored/scripting/engines/scriptedinstrumentpricingenginecg.cpp
@@ -182,10 +182,6 @@ void ScriptedInstrumentPricingEngineCG::calculate() const {
182
if (useExternalComputeFramework_) {
183
QL_REQUIRE(ComputeEnvironment::instance().hasContext(),
184
"ScriptedInstrumentPricingEngineCG::calculate(): no compute enviroment context selected.");
185
- QL_REQUIRE(!useDoublePrecisionForExternalCalculation_ ||
186
- ComputeEnvironment::instance().context().supportsDoublePrecision(),
187
- "ScriptedInstrumentPricingEngineCG::calculate(): context does not support double precision "
188
- "calculations.");
189
ComputeContext::Settings settings;
190
settings.debug = false;
191
settings.useDoublePrecision = useDoublePrecisionForExternalCalculation_;
0 commit comments