You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose we had two models, A and B. We bound A.K_1 to B.K_2 but then bound A.K_1 to A.K_2. We now will get an index error when we try to get the parameters for model B because the parameter array of A has one parameter fewer.
Possible solution:
during bind!, check if we are binding a parameter that is already due to be bound. If so, append new bindings to them.
The text was updated successfully, but these errors were encountered:
Not strictly a chaining problem but perhaps a related bug: I noticed that when, e.g., the second model was bound to the first model so they should be identical the model parameters were, in fact, different.
I've put this issue here as a placeholder while I investigate further (I still need to confirm it is actually a bug and not something I've done!) I will post an update here when I've dug a bit deeper...
Suppose we had two models, A and B. We bound
A.K_1
toB.K_2
but then boundA.K_1
toA.K_2
. We now will get an index error when we try to get the parameters for modelB
because the parameter array ofA
has one parameter fewer.Possible solution:
bind!
, check if we are binding a parameter that is already due to be bound. If so, append new bindings to them.The text was updated successfully, but these errors were encountered: