Skip to content

Commit 1c28562

Browse files
pcaspersjenkins
authored andcommitted
QPR-12386 will move this to the env impl
1 parent c5a6e30 commit 1c28562

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

OREData/ored/scripting/engines/scriptedinstrumentpricingenginecg.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,6 @@ void ScriptedInstrumentPricingEngineCG::calculate() const {
182182
if (useExternalComputeFramework_) {
183183
QL_REQUIRE(ComputeEnvironment::instance().hasContext(),
184184
"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.");
189185
ComputeContext::Settings settings;
190186
settings.debug = false;
191187
settings.useDoublePrecision = useDoublePrecisionForExternalCalculation_;

0 commit comments

Comments
 (0)