[Development branch] Method "maxOutVariable" can return more than two potentials

Issue #312 resolved
Manuel Luque
created an issue

In the class DiscretePotentialOperations, the method maxOutVariable(Variable decisionVariable, List<TablePotential> potentials) says in its Javadoc documentation that it returns a list of two potentials, but it instead can return three potentials.