/src/main/java/net/finmath/marketdata/model/volatilities/SwaptionDataLattice.java
return convertToConvention( getValue( key) , key, convention, displacement, quotingConvention, model) ;
return convertToConvention ( getValue ( key ) , key, convention, displacement, quotingConvention, this.displacement, model ) ;
public double getValue(final int maturityInMonths, final int tenorInMonths, final int moneynessBP, final QuotingConvention convention, final double displacement, final AnalyticModel model) { final DataKey key = new DataKey(maturityInMonths, tenorInMonths, moneynessBP); return convertToConvention(getValue(key), key, convention, displacement, quotingConvention, this.displacement, model); } public double getValue(final String tenorCode, final int moneynessBP, final QuotingConvention convention, final double displacement, final AnalyticModel model) { final DataKey key = new DataKey(tenorCode, moneynessBP); <extra_id_0> } private double convertToConvention(final double value, final DataKey key, final QuotingConvention toConvention, final double toDisplacement, final QuotingConvention fromConvention, final double fromDisplacement, final AnalyticModel model) { if(toConvention == fromConvention) { if(toConvention != QuotingConvention.PAYERVOLATILITYLOGNORMAL) { return value;