probcomp / hierarchical-irm

Probabilistic structure discovery for rich relational systems
Apache License 2.0
1 stars 1 forks source link

Fix two big bugs in Normal #31

Closed ThomasColthurst closed 1 month ago

ThomasColthurst commented 1 month ago

We were somehow storing the mean and var in ints rather than doubles, but the unit tests all still passed???

Also, there was a subtle (in comparison) bug in the N==1 case in unincorporate.