/src/main/java/net/finmath/montecarlo/RandomVariableLazyEvaluation.java
} return valueIfNonStochastic == randomVariable.get( 0) ;if( this.isDeterministic( ) && randomVariable.isDeterministic( ) ) {
if ( this.isDeterministic ( ) && randomVariable.isDeterministic ( ) ) { return valueIfNonStochastic == randomVariable.get ( 0 ) ; }
} @Override public boolean equals(final RandomVariable randomVariable) { if(time != randomVariable.getFiltrationTime()) { return false; } <extra_id_0> if(this.isDeterministic() != randomVariable.isDeterministic()) { return false; } for(int i=0; i<size(); i++) { if(get(i) != randomVariable.get(i)) { return false;