We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2806c23 commit f91dd1cCopy full SHA for f91dd1c
pymc/util.py
@@ -250,7 +250,7 @@ def dataset_to_point_list(
250
}
251
points = [
252
{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()]))
+ for i in range(np.prod([len(coords) for coords in stacked_dims.values()]))
254
]
255
# use the list of points
256
return cast(List[Dict[str, np.ndarray]], points), stacked_dims
0 commit comments