Error when changing the name of a variable used as an argument of a function
Issue #334
new
In the attached network, the potential for X contains a function that depends on its parent, theta. If the name of the parent is changed, the argument of the function should change accordingly.