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 <[email protected]> * delete leftover type variable * Simplify tests --------- Co-authored-by: Kyle Daruwalla <[email protected]> Co-authored-by: David Widmann <[email protected]> Co-authored-by: David Widmann <[email protected]>
- Loading branch information