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-04-13 11:48:11 -07:00
2023-04-13 11:48:11 -07:00
2023-04-10 18:09:56 -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-03-28 14:44:43 +09:00
2023-04-13 11:48:11 -07:00
2023-03-29 11:23:51 -07:00
2023-04-04 14:24:23 -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-03-23 14:53:05 -07:00
2023-04-11 12:43:04 -07:00