pointpca2 0.4.0__tar.gz → 0.4.2__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.
@@ -450,7 +450,7 @@ dependencies = [
450
450
 
451
451
  [[package]]
452
452
  name = "pointpca2"
453
- version = "0.4.0"
453
+ version = "0.4.2"
454
454
  dependencies = [
455
455
  "nalgebra",
456
456
  "numpy",
@@ -460,8 +460,8 @@ dependencies = [
460
460
 
461
461
  [[package]]
462
462
  name = "pointpca2-rs"
463
- version = "1.4.0"
464
- source = "git+https://github.com/akaTsunemori/pointpca2-rs.git?tag=v1.4.0#c7895c3f1c6fa6d52d012ac1fda0dea8ad8671f2"
463
+ version = "1.4.2"
464
+ source = "git+https://github.com/akaTsunemori/pointpca2-rs.git?tag=v1.4.2#6830ccfa6162d679cbc51f0a93da0d9a6a860861"
465
465
  dependencies = [
466
466
  "kd-tree",
467
467
  "libm",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "pointpca2"
3
- version = "0.4.0"
3
+ version = "0.4.2"
4
4
  edition = "2021"
5
5
 
6
6
  [lib]
@@ -13,7 +13,7 @@ numpy = "0.15"
13
13
 
14
14
  [dependencies.pointpca2-rs]
15
15
  git = "https://github.com/akaTsunemori/pointpca2-rs.git"
16
- tag = "v1.4.0"
16
+ tag = "v1.4.2"
17
17
 
18
18
  [dependencies.pyo3]
19
19
  version = "0.15.1"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pointpca2
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Requires-Dist: numpy >=1.26
5
5
  Requires-Dist: toml ==0.10.0
6
6
  License-File: LICENSE
@@ -18,4 +18,4 @@ classifier = [
18
18
  repository = "https://github.com/akaTsunemori/pointpca2-pylib"
19
19
 
20
20
  [tool.maturin]
21
- python-source = "python"
21
+ python-source = "python"
@@ -3,9 +3,9 @@ from .pointpca2 import compute_pointpca2 as __pointpca2_internal
3
3
 
4
4
 
5
5
  def __preprocess_point_cloud(points, colors):
6
- if type(points) != np.ndarray:
6
+ if type(points) is np.ndarray:
7
7
  points = np.array(points, dtype=np.double)
8
- if type(colors) != np.ndarray:
8
+ if type(colors) is np.ndarray:
9
9
  colors = np.array(colors, dtype=np.double)
10
10
  if points.shape != colors.shape:
11
11
  raise Exception("Points and colors must have the same shape.")
File without changes
File without changes
File without changes
File without changes
File without changes