Formerly we simply looked to see if the target was a name in the structureExpr. This is not sufficient to check for valid conjugacy. We need that the target appears on its own (and only once) as an element of the vector argument to stick_breaking. This change modifes the checking in cc_checkStickbreaking to do that.
This fixes issue #1409.
Formerly we simply looked to see if the target was a name in the structureExpr. This is not sufficient to check for valid conjugacy. We need that the target appears on its own (and only once) as an element of the vector argument to
stick_breaking
. This change modifes the checking incc_checkStickbreaking
to do that.