Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPDATED: Multinomial distribution rand does not support Float32 proba…
…bility vectors (#1738) * Allow probability vectors other than Float64 vector for Multinomial distributions. Tests still pass. * Remove explicit concrete types from multinom_rand * Added test to make sure rand works for real types other than Float64 * Removed extra test * updated tests for type stability * same test but not using internal function * repeat tests under different types instead * type stability within multinomial. may want to extend into Binomial * Apply suggestions from code review Type conversions implicitly at runtime covers more systems better Co-authored-by: David Widmann <devmotion@users.noreply.github.com> * delete leftover type variable * Simplify tests --------- Co-authored-by: Kyle Daruwalla <daruwalla@wisc.edu> Co-authored-by: David Widmann <devmotion@users.noreply.github.com> Co-authored-by: David Widmann <david.widmann@it.uu.se>
- Loading branch information