gridpoints 1.0.2__tar.gz → 1.0.3__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: gridpoints
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: fast multidimensional sorting tool for point clouds using the monotonic lagrangian grid
5
5
  Author: Armand de Cacqueray
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "gridpoints"
7
- version = "1.0.2"
7
+ version = "1.0.3"
8
8
  description = "fast multidimensional sorting tool for point clouds using the monotonic lagrangian grid "
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
@@ -7,4 +7,4 @@ __all__ = (
7
7
  print_zoom,
8
8
  )
9
9
 
10
- __version__ = "1.0.2"
10
+ __version__ = "1.0.3"
@@ -8,4 +8,4 @@ __all__ = (
8
8
  "invert_permutation",
9
9
  )
10
10
 
11
- __version__ = "1.0.2"
11
+ __version__ = "1.0.3"
@@ -47,8 +47,7 @@ def inplace_sort(X, axis):
47
47
  if backend_name == 'torch':
48
48
  X.copy_(X.sort(dim=axis)[0])
49
49
  if backend_name == "cupy":
50
- X[...] = xp.ascontiguousarray(X)
51
- X.sort(axis=axis)
50
+ X[...] = xp.sort(xp.ascontiguousarray(X), axis=axis)
52
51
  else:
53
52
  X.sort(axis=axis)
54
53
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gridpoints
3
- Version: 1.0.2
3
+ Version: 1.0.3
4
4
  Summary: fast multidimensional sorting tool for point clouds using the monotonic lagrangian grid
5
5
  Author: Armand de Cacqueray
6
6
  License: MIT
File without changes
File without changes
File without changes