.withFixedLegConvention(vars.fixedLegConvention)
.withFixedLegTerminationDateConvention(vars.fixedLegConvention)
.value();
/*@Rate*/ final double expectedRate = swapData[i].rate/100;
/*@Rate*/ final double estimatedRate = swap.fairRate();
/*@Real*/ final double tolerance = 1.0e-9;
if (Math.abs(expectedRate-estimatedRate) > tolerance) {
throw new RuntimeException(
String.format("%s %d %s %s %f %s %s %f",
"before LIBOR fixing:\n",