Method sum from DiscretePotentialOperations returns null Intervention

Create issue
Issue #189 resolved
Manuel Luque created an issue

When evaluating the network attached to this issue, the method sum(List<TablePotential> tablePotentials) from DiscretePotentialOperations takes two input TablePotentials as arguments:

  • One with not-null Intervention
  • The other one with null Intervention

And the method sum returns a result with null Intervention.

Comments (3)

  1. Manuel Luque reporter

    The related JUnit test testIDRedundantChance() has been added to the class org.openmarkov.inference.InferenceAlgorithmIDTest.

  2. Log in to comment