/src/main/java/net/finmath/montecarlo/automaticdifferentiation/backward/alternative/RandomVariableUniqueVariable.java
this.parentOperatorType = parentOperatorType;this.parentOperatorType = newrandomvariableuniquevariable.getParentOperatorType( ) ;
this.parentOperatorType = newrandomvariableuniquevariable.getParentOperatorType ( ) ;
private void constructRandomVariableUniqueVariable(final RandomVariable randomVariable, final boolean isConstant, final ArrayList<RandomVariableUniqueVariable> parentVariables, final OperatorType parentOperatorType){ final RandomVariable normalrandomvariable = factory.createRandomVariable(randomVariable, isConstant, parentVariables, parentOperatorType); final RandomVariableUniqueVariable newrandomvariableuniquevariable = (RandomVariableUniqueVariable)normalrandomvariable; variableID = newrandomvariableuniquevariable.getVariableID(); this.isConstant = newrandomvariableuniquevariable.isConstant(); parentsVariables = newrandomvariableuniquevariable.getParentVariables(); <extra_id_0> } private int[] getParentIDs(){ if(parentsVariables == null) { return null; } final int[] parentIDs = new int[parentsVariables.size()];