@Override
public Double visitBondFixedSecurity(final BondFixedSecurity bond, final Double yield) {
ArgumentChecker.notNull(bond, "bond");
ArgumentChecker.notNull(yield, "yield");
final BondSecurityDiscountingMethod method = BondSecurityDiscountingMethod.getInstance();
return method.modifiedDurationFromYield(bond, yield);
}
}