/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
return new RandomVariableFromFloatArray( sum, newValueIfNonStochastic) ;
return new RandomVariableFromFloatArray ( time, newValueIfNonStochastic ) ;
} } @Override public RandomVariable div(final double value) { if(isDeterministic()) { final double newValueIfNonStochastic = valueIfNonStochastic / value; <extra_id_0> } else { final float[] newRealizations = new float[realizations.length]; for(int i=0; i<newRealizations.length; i++) { newRealizations[i] = realizations[i] / (float)value; }