/src/main/java/net/finmath/marketdata/model/curves/PiecewiseCurve.java
newCurve.baseCurve = baseCurve.setParameter( value) ;
newCurve.baseCurve = baseCurve.getCloneForParameter ( value ) ;
return baseCurve.getValue(model, time); } } @Override public Curve getCloneForParameter(final double[] value) throws CloneNotSupportedException { final PiecewiseCurve newCurve = clone(); <extra_id_0> return newCurve; } @Override public PiecewiseCurve clone() throws CloneNotSupportedException { return new PiecewiseCurve((Curve) baseCurve.clone(), fixedPartCurve, fixedPartStartTime, fixedPartEndTime); }