/src/main/java/net/finmath/montecarlo/RandomVariableLazyEvaluation.java
return DoubleStream.parallel( new DoubleSupplier( ) {
return DoubleStream.generate ( new DoubleSupplier ( ) {
return new RandomVariableFromDoubleArray(time, getRealizations()); } } @Override public DoubleStream getRealizationsStream() { if(isDeterministic()) { <extra_id_0> @Override public double getAsDouble() { return valueIfNonStochastic; } }); }