When a (discretized) conditional Gaussian potential has in its potentials a numerical variable, the inference fails and throws a null pointer exception

Create issue
Issue #294 resolved
Miguel Ángel Artaso Landa created an issue

When a node in the network has defined a (discretized) conditional Gaussian and in the mean or the variance potentials has a node that is numerical, the inference fails and a null pointer exception is thrown.

Comments (2)

  1. Miguel Ángel Artaso Landa reporter

    When during the resolution the numeric variable is replaced after the evidence has been applied, the new variable is only being set in the main variables set of the potential, not in the 'mean' nor in the 'variance' potential. The solution will be to code an override implementation of the 'replaceNumericVariable' method.

  2. Log in to comment