@@ -331,14 +331,13 @@ BOOST_AUTO_TEST_CASE(testAddMarketFixings) {
331331 Date (1 , Oct, 2018 ), Date (1 , Sep, 2018 ), Date (1 , Aug, 2018 ), Date (1 , Jul, 2018 ),
332332 Date (1 , Jun, 2018 ), Date (1 , May, 2018 ), Date (1 , Apr, 2018 ), Date (1 , Mar, 2018 ),
333333 Date (1 , Feb, 2018 )};
334- set<Date> iborDates = {Date (21 , Feb, 2019 ), Date (20 , Feb, 2019 ), Date (19 , Feb, 2019 ),
335- Date (18 , Feb, 2019 ), Date (15 , Feb, 2019 ), Date (14 , Feb, 2019 )};
334+ set<Date> iborDates = {Date (21 , Feb, 2019 ), Date (20 , Feb, 2019 ), Date (19 , Feb, 2019 ), Date ( 18 , Feb, 2019 ),
335+ Date (17 , Feb, 2019 ), Date ( 16 , Feb, 2019 ), Date (15 , Feb, 2019 ), Date (14 , Feb, 2019 )};
336336
337337 // Default for OIS dates is a lookback of 4 months on weekend only calendar => 21 Feb 2019 -> 21 Oct 2018.
338- // 21 Oct 2018 is a Sunday => 22 Oct 2018 is the start of the lookback.
339338 set<Date> oisDates;
340- Date oisDate (22 , Oct, 2018 );
341- WeekendsOnly cal;
339+ Date oisDate (21 , Oct, 2018 );
340+ NullCalendar cal;
342341 while (oisDate <= asof) {
343342 oisDates.insert (oisDate);
344343 oisDate = cal.advance (oisDate, 1 * Days);
0 commit comments