Skip to content

Commit 0f74294

Browse files
pcaspersjenkins
authored andcommitted
QPR-12494 remove unnecessary check
1 parent bfca62d commit 0f74294

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

OREData/ored/portfolio/makenonstandardlegs.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ Leg makeNonStandardIborLeg(const QuantLib::ext::shared_ptr<IborIndex>& index, co
118118
<< resetDates.size() << ")");
119119

120120
for (Size i = 0; i < fixingDates.size(); ++i) {
121-
QL_REQUIRE(fixingDates[i] <= resetDates[i], "makeNonStandardIborLeg(): fixing date at "
122-
<< i << " (" << fixingDates[i]
123-
<< ") must be less or equal to reset date at " << i << " ("
124-
<< resetDates[i] << ")");
125121
QL_REQUIRE(resetDates[i] <= calcDates.back(), "makeNonStandardIborLeg(): reset date at "
126122
<< i << " (" << resetDates[i]
127123
<< ") must be less or equal last calculation date ("

0 commit comments

Comments
 (0)