Skip to content

Commit 46d322d

Browse files
pcaspersjenkins
authored andcommitted
QPR-11772 compiler problem
1 parent 8cda4ee commit 46d322d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OREData/ored/portfolio/legdata.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,9 +1505,9 @@ Leg makeBMALeg(const LegData& data, const boost::shared_ptr<QuantExt::BMAIndexWr
15051505
vector<Real> gearings =
15061506
buildScheduledVectorNormalised(floatData->gearings(), floatData->gearingDates(), schedule, 1.0);
15071507
vector<Real> caps =
1508-
buildScheduledVectorNormalised(floatData->caps(), floatData->capDates(), schedule, Null<Real>());
1508+
buildScheduledVectorNormalised(floatData->caps(), floatData->capDates(), schedule, (Real)Null<Real>());
15091509
vector<Real> floors =
1510-
buildScheduledVectorNormalised(floatData->floors(), floatData->floorDates(), schedule, Null<Real>());
1510+
buildScheduledVectorNormalised(floatData->floors(), floatData->floorDates(), schedule, (Real)Null<Real>());
15111511

15121512
applyAmortization(notionals, data, schedule, false);
15131513

0 commit comments

Comments
 (0)