probcomp / cgpm

Library of composable generative population models which serve as the modeling and inference backend of BayesDB.
Apache License 2.0
25 stars 11 forks source link

State._simulate and State._logpdf should check for self._composite as well as any conditional CGPMS in the dims #229

Open fsaad opened 7 years ago

fsaad commented 7 years ago

https://github.com/probcomp/cgpm/blob/91cd8f7f6fce769d7e57f2b33bee2be6cd12ca3b/src/crosscat/state.py#L376-L377

https://github.com/probcomp/cgpm/blob/91cd8f7f6fce769d7e57f2b33bee2be6cd12ca3b/src/crosscat/state.py#L363-L364