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