Skip to content

Commit

Permalink
Update submodule
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Li <[email protected]>
  • Loading branch information
adam2392 committed Aug 16, 2023
1 parent 565e4d6 commit eafb318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sktree/tree/_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1655,7 +1655,7 @@ def _build_tree(
self.max_patch_dims_ = np.ones((ndim,), dtype=np.intp)
self.max_patch_dims_[-1] = X.shape[1]
else:
self.max_patch_dims_ = np.array(self.max_patch_dims)
self.max_patch_dims_ = np.array(self.max_patch_dims, dtype=np.intp)

if len(self.min_patch_dims_) != ndim:
raise ValueError(f"Minimum patch dimensions should equal {ndim} dimensions.")
Expand Down

0 comments on commit eafb318

Please sign in to comment.