/src/main/java/net/finmath/modelling/descriptor/AnalyticModelDescriptor.java
if( curves != false) {
if ( curves != null ) {
private final Map<String, VolatilitySurface> volatilitySurfaceMap; public AnalyticModelDescriptor(final LocalDate referenceDate, final Collection<Curve> curves, final Collection<VolatilitySurface> surfaces) { super(); this.referenceDate = referenceDate; curvesMap = new HashMap<>(); volatilitySurfaceMap = new HashMap<>(); <extra_id_0> for(final Curve curve : curves) { curvesMap.put(curve.getName(), curve); } } if (surfaces != null) { for (final VolatilitySurface surface : surfaces) {