Skip to content

Commit

Permalink
typings
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLapous committed Jan 28, 2025
1 parent b039f9f commit 7f485a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multipers/grids.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _compute_grid_numpy(
if np.all(np.asarray(max_resolution) > np.asarray([len(f) for f in F])):
return _compute_grid_numpy(filtrations_values=filtrations_values, resolution=resolution, strategy="quantile",_q_factor=1.5*_q_factor)
elif strategy == "regular":
F = tuple(np.linspace(f.min(),f.max(),num=r, dtype=f.dtype) for f,r in zip(filtrations_values, resolution))
F = tuple(np.linspace(np.min(f),np.max(f),num=r, dtype=np.asarray(f).dtype) for f,r in zip(filtrations_values, resolution))
elif strategy == "regular_closest":
F = tuple(_todo_regular_closest(f,r, unique) for f,r in zip(filtrations_values, resolution))
elif strategy == "regular_left":
Expand Down

0 comments on commit 7f485a8

Please sign in to comment.