Jake VanderPlas 5521423d92 Change np.prod->math.prod
Why? This is generally used for static operations on shapes, but np.prod
has an unfortunate corner-case behavior that np.prod([]) returns a float.
math.prod is available as of Python 3.8, and is a better solution here.
2023-04-13 11:48:11 -07:00
..
2023-03-24 12:33:33 -07:00
2023-04-13 11:48:11 -07:00
2023-04-13 11:48:11 -07:00
2023-04-13 11:48:11 -07:00
2023-04-13 11:48:11 -07:00
2023-04-13 11:48:11 -07:00
2023-04-13 11:48:11 -07:00
2023-04-13 11:48:11 -07:00
2023-04-13 11:48:11 -07:00
2022-12-02 13:21:35 -08:00
2023-04-13 11:48:11 -07:00