Skip to content

Commit f91dd1c

Browse files
authored
np.product to np.prod (#6789)
1 parent 2806c23 commit f91dd1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def dataset_to_point_list(
250250
}
251251
points = [
252252
{vn: stacked_dict[vn][i, ...] for vn in var_names}
253-
for i in range(np.product([len(coords) for coords in stacked_dims.values()]))
253+
for i in range(np.prod([len(coords) for coords in stacked_dims.values()]))
254254
]
255255
# use the list of points
256256
return cast(List[Dict[str, np.ndarray]], points), stacked_dims

0 commit comments

Comments
 (0)