/*
* Note that valuation date is used only for start date and end date
* Other date points are computed with the base date contained in yield curve and hazard rate curve
*/
final double[] res2Deprecated = calculator.constructCreditDefaultSwapContingentLegIntegrationSchedule(baseDate, cds1.getStartDate(), cds1.getMaturityDate().plusDays(1),
cds1, yieldCurve, hazardRateCurve);
final int nRes2Deprecated = res2Deprecated.length;
final int m = ycDatesLocal.length;
/*