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
when we do the VariableCast for mu1 and mu2, they will be squeezed and turned into [0,0] and then a Variable. In other words, both mu will have size 2. However, if we draw sample from dist1 and dist2, which should be a vector and have the same size of mu, the size of the sample will be 1 by 2. It will be much clear in debug.
We need to solve this: either squeeze the sample or always ensure 1 by n or n by 1 for the size of vector.
The text was updated successfully, but these errors were encountered:
Should we use n by 1 or length n for the size of a vector, eg.
[0, 0]
?There is some inconsistent issue with these in the mvn.
For example,
when we do the VariableCast for mu1 and mu2, they will be squeezed and turned into [0,0] and then a Variable. In other words, both mu will have size 2. However, if we draw sample from dist1 and dist2, which should be a vector and have the same size of mu, the size of the sample will be 1 by 2. It will be much clear in debug.
We need to solve this: either squeeze the sample or always ensure 1 by n or n by 1 for the size of vector.
The text was updated successfully, but these errors were encountered: