squarenet 0.2.3__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: squarenet
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Sparse local operations for point clouds in any dimension.
5
5
  Author-email: ArmanddeCacqueray <armanddecacqueray@sfr.fr>
6
6
  Project-URL: Homepage, https://github.com/ArmanddeCacqueray/SquareNet
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "squarenet"
7
- version = "0.2.3"
7
+ version = "0.2.4"
8
8
  description = "Sparse local operations for point clouds in any dimension."
9
9
  authors = [{ name = "ArmanddeCacqueray", email = "armanddecacqueray@sfr.fr" }]
10
10
  readme = "README.md"
@@ -18,7 +18,7 @@ def dualgrid(grid):
18
18
 
19
19
  def dualgridflat(grid):
20
20
  gr= grid.flatten()
21
- N = grid.shape
21
+ N = len(grid)
22
22
  dgf = np.zeros(N, dtype = np.int32)
23
23
  identity = np.arange(N, dtype = np.int32)
24
24
  dgf[gr] = identity
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: squarenet
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Sparse local operations for point clouds in any dimension.
5
5
  Author-email: ArmanddeCacqueray <armanddecacqueray@sfr.fr>
6
6
  Project-URL: Homepage, https://github.com/ArmanddeCacqueray/SquareNet
File without changes
File without changes
File without changes