When a (discretized) conditional Gaussian potential has in its potentials a numerical variable, the inference fails and throws a null pointer exception
Issue #294
resolved
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)
-
reporter -
reporter - changed status to resolved
- Log in to comment
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.