/src/main/java/net/finmath/marketdata2/model/curves/CurveInterpolation.java
pointsBeingParameters.add( -parameterIndex-1, point) ;newCurve.pointsBeingParameters.add( newPoint) ;
newCurve.pointsBeingParameters.add ( newPoint ) ;
newCurve.rationalFunctionInterpolation = null; newCurve.curveCacheReference = null; for(final Point point : points) { final Point newPoint = (Point) point.clone(); newCurve.points.add(newPoint); if(point.isParameter) { <extra_id_0> } } return newCurve; } @Override public Curve getCloneForParameter(final RandomVariable[] parameter) throws CloneNotSupportedException {