Skip to content

Commit 0b2e2c1

Browse files
pcaspersjenkins
authored andcommitted
QPR-12014 fixes
1 parent 25227bb commit 0b2e2c1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OREData/ored/portfolio/commoditydigitalapo.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ void CommodityDigitalAveragePriceOption::build(const boost::shared_ptr<EngineFac
7878
opt1.build(engineFactory);
7979
opt2.build(engineFactory);
8080

81+
setSensitivityTemplate(opt1.sensitivityTemplate());
82+
8183
boost::shared_ptr<Instrument> inst1 = opt1.instrument()->qlInstrument();
8284
boost::shared_ptr<Instrument> inst2 = opt2.instrument()->qlInstrument();
8385

0 commit comments

Comments
 (0)