- changed title to IndexOutOfBoundsException when changing the domain of a variable
IndexOutOfBoundsException when changing the domain of a variable
Issue #262
resolved
There are some scenarios where when changing the domain of a variable an IndexOutOfBoundsException is raised. For example, this happens the "ID-decide-test" network, if you change the domain of 'Result of test' variable.
Comments (2)
-
-
reporter - changed status to resolved
The 'VariableTypeEdit' class of the package 'org.openmarkov.core.action' was trying to assign a uniform potential to any non-utility child of the node whose domain was being altered, even in the case of the decision nodes with no potential at all. Now, the method setPotentialsNodeAndChildren only assigns the uniform potential if the child has a potential already.
- Log in to comment