Closed fsaad closed 7 years ago
https://github.com/probcomp/cgpm/blob/91cd8f7f6fce769d7e57f2b33bee2be6cd12ca3b/src/mixtures/view.py#L120-L121
The error actually happens when constructing the Dim in the previous statement, since a conditional dim expects to have inputs.
Fixed on branch via https://github.com/probcomp/cgpm/commit/2ccc38ab8eb99fc595fc601ab1222b6bc1c2b49f
https://github.com/probcomp/cgpm/blob/91cd8f7f6fce769d7e57f2b33bee2be6cd12ca3b/src/mixtures/view.py#L120-L121
The error actually happens when constructing the Dim in the previous statement, since a conditional dim expects to have inputs.