/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
if ( isDeterministic( ) ) {   final double[] result = new double[]{ doubleValue( ) };   return result; }else {   return realizations.clone( ) ; }
[Delete]
} else { return realizations[pathOrState]; } } @Override public int size() { <extra_id_0> return 1; } else { return realizations.length; } } @Override