posterior / distributions

Low-level primitives for collapsed Gibbs sampling in python and C++
BSD 3-Clause "New" or "Revised" License
16 stars 8 forks source link

Fix numpy strict conversion error, (related to issue #15). #16

Closed fsaad closed 6 years ago

fsaad commented 6 years ago

Partially addresses https://github.com/posterior/distributions/issues/15 by fixing depracated use of numpy.

I'm not sure of the best solution to address FAIL: distributions.tests.test_models.test_add_remove('lp.models.niw',) in #15, so I will leave that as a separate pull request.

fritzo commented 6 years ago

@fsaad, you can merge this, right?

fsaad commented 6 years ago

@fsaad, you can merge this, right?

I believe so, yes. I will merge after the travis-ci/pr checks pass, if that is okay.