gibsramen/evident_

Can't pass in np.array to power_analysis

Closed this issue · 1 comments

Seems like this line fails when you pass in a np.array

https://github.com/gibsramen/evident/blob/f1a0fd65100e09f46c3e20c1e343d32f6e3e5943/evident/diversity_handler.py#L119

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Input In [180], in <module>
----> 1 [[1, 2, 3], np.linspace(10, 30, 5), None].count(None)

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Closed in b780d8b