linkcell 0.3.7__tar.gz → 0.3.8__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.
Files changed (90) hide show
  1. {linkcell-0.3.7 → linkcell-0.3.8}/CHANGELOG.md +6 -0
  2. {linkcell-0.3.7 → linkcell-0.3.8}/Cargo.lock +2 -2
  3. {linkcell-0.3.7 → linkcell-0.3.8}/Cargo.toml +1 -1
  4. {linkcell-0.3.7 → linkcell-0.3.8}/PKG-INFO +2 -2
  5. {linkcell-0.3.7 → linkcell-0.3.8}/README.md +1 -1
  6. {linkcell-0.3.7 → linkcell-0.3.8}/docs/how-to/embed-c.md +1 -1
  7. {linkcell-0.3.7 → linkcell-0.3.8}/meson.build +1 -1
  8. {linkcell-0.3.7 → linkcell-0.3.8}/pyproject.toml +1 -1
  9. {linkcell-0.3.7 → linkcell-0.3.8}/python/Cargo.toml +1 -1
  10. {linkcell-0.3.7 → linkcell-0.3.8}/src/pairs.rs +2 -2
  11. {linkcell-0.3.7 → linkcell-0.3.8}/tests/python/test_knearest.py +1 -1
  12. {linkcell-0.3.7 → linkcell-0.3.8}/.github/scripts/setup-msvc.ps1 +0 -0
  13. {linkcell-0.3.7 → linkcell-0.3.8}/.github/workflows/ci.yml +0 -0
  14. {linkcell-0.3.7 → linkcell-0.3.8}/.github/workflows/publish.yml +0 -0
  15. {linkcell-0.3.7 → linkcell-0.3.8}/.github/workflows/wheels.yml +0 -0
  16. {linkcell-0.3.7 → linkcell-0.3.8}/.gitignore +0 -0
  17. {linkcell-0.3.7 → linkcell-0.3.8}/CITATION.cff +0 -0
  18. {linkcell-0.3.7 → linkcell-0.3.8}/CMakeLists.txt +0 -0
  19. {linkcell-0.3.7 → linkcell-0.3.8}/LICENSE +0 -0
  20. {linkcell-0.3.7 → linkcell-0.3.8}/assets/branding/README.md +0 -0
  21. {linkcell-0.3.7 → linkcell-0.3.8}/assets/branding/linkcell-icon.svg +0 -0
  22. {linkcell-0.3.7 → linkcell-0.3.8}/assets/branding/linkcell-logo-dark.svg +0 -0
  23. {linkcell-0.3.7 → linkcell-0.3.8}/assets/branding/linkcell-logo-light.svg +0 -0
  24. {linkcell-0.3.7 → linkcell-0.3.8}/assets/branding/linkcell-mark.jpg +0 -0
  25. {linkcell-0.3.7 → linkcell-0.3.8}/build.rs +0 -0
  26. {linkcell-0.3.7 → linkcell-0.3.8}/cbindgen.toml +0 -0
  27. {linkcell-0.3.7 → linkcell-0.3.8}/changelog.d/.gitkeep +0 -0
  28. {linkcell-0.3.7 → linkcell-0.3.8}/changelog.d/README.md +0 -0
  29. {linkcell-0.3.7 → linkcell-0.3.8}/cmake/linkcell-gpu.pc.in +0 -0
  30. {linkcell-0.3.7 → linkcell-0.3.8}/cmake/linkcell.pc.in +0 -0
  31. {linkcell-0.3.7 → linkcell-0.3.8}/cmake/linkcellConfig.cmake.in +0 -0
  32. {linkcell-0.3.7 → linkcell-0.3.8}/docs/explanation/mic-and-cells.md +0 -0
  33. {linkcell-0.3.7 → linkcell-0.3.8}/docs/how-to/embed-cpp.md +0 -0
  34. {linkcell-0.3.7 → linkcell-0.3.8}/docs/how-to/embed-python.md +0 -0
  35. {linkcell-0.3.7 → linkcell-0.3.8}/docs/how-to/pkg-config.md +0 -0
  36. {linkcell-0.3.7 → linkcell-0.3.8}/docs/index.md +0 -0
  37. {linkcell-0.3.7 → linkcell-0.3.8}/docs/reference/algorithm.md +0 -0
  38. {linkcell-0.3.7 → linkcell-0.3.8}/docs/reference/c-api.md +0 -0
  39. {linkcell-0.3.7 → linkcell-0.3.8}/docs/tutorials/two-points.md +0 -0
  40. {linkcell-0.3.7 → linkcell-0.3.8}/examples/knn_hot.rs +0 -0
  41. {linkcell-0.3.7 → linkcell-0.3.8}/examples/knn_scale.rs +0 -0
  42. {linkcell-0.3.7 → linkcell-0.3.8}/examples/meson.build +0 -0
  43. {linkcell-0.3.7 → linkcell-0.3.8}/examples/pairs_scale.rs +0 -0
  44. {linkcell-0.3.7 → linkcell-0.3.8}/examples/two_points.c +0 -0
  45. {linkcell-0.3.7 → linkcell-0.3.8}/examples/two_points.cpp +0 -0
  46. {linkcell-0.3.7 → linkcell-0.3.8}/include/linkcell.h +0 -0
  47. {linkcell-0.3.7 → linkcell-0.3.8}/include/linkcell.hpp +0 -0
  48. {linkcell-0.3.7 → linkcell-0.3.8}/include/linkcell_gpu.h +0 -0
  49. {linkcell-0.3.7 → linkcell-0.3.8}/include/linkcell_gpu.hpp +0 -0
  50. {linkcell-0.3.7 → linkcell-0.3.8}/linkcell/__init__.py +0 -0
  51. {linkcell-0.3.7 → linkcell-0.3.8}/meson_options.txt +0 -0
  52. {linkcell-0.3.7 → linkcell-0.3.8}/python/build.rs +0 -0
  53. {linkcell-0.3.7 → linkcell-0.3.8}/python/src/gpu.rs +0 -0
  54. {linkcell-0.3.7 → linkcell-0.3.8}/python/src/lib.rs +0 -0
  55. {linkcell-0.3.7 → linkcell-0.3.8}/scripts/bench-kokkos.sh +0 -0
  56. {linkcell-0.3.7 → linkcell-0.3.8}/scripts/bench-pairs.sh +0 -0
  57. {linkcell-0.3.7 → linkcell-0.3.8}/scripts/bench-strong.sh +0 -0
  58. {linkcell-0.3.7 → linkcell-0.3.8}/scripts/check-install.sh +0 -0
  59. {linkcell-0.3.7 → linkcell-0.3.8}/scripts/copy-cargo-artifacts.py +0 -0
  60. {linkcell-0.3.7 → linkcell-0.3.8}/scripts/cutoff_work.py +0 -0
  61. {linkcell-0.3.7 → linkcell-0.3.8}/scripts/pop-report.py +0 -0
  62. {linkcell-0.3.7 → linkcell-0.3.8}/scripts/regen-capi-headers.sh +0 -0
  63. {linkcell-0.3.7 → linkcell-0.3.8}/src/bins.rs +0 -0
  64. {linkcell-0.3.7 → linkcell-0.3.8}/src/capi.rs +0 -0
  65. {linkcell-0.3.7 → linkcell-0.3.8}/src/cell.rs +0 -0
  66. {linkcell-0.3.7 → linkcell-0.3.8}/src/error.rs +0 -0
  67. {linkcell-0.3.7 → linkcell-0.3.8}/src/gpu/capi.cpp +0 -0
  68. {linkcell-0.3.7 → linkcell-0.3.8}/src/gpu/gpulite_compat.hpp +0 -0
  69. {linkcell-0.3.7 → linkcell-0.3.8}/src/gpu/knearest.cpp +0 -0
  70. {linkcell-0.3.7 → linkcell-0.3.8}/src/knearest.rs +0 -0
  71. {linkcell-0.3.7 → linkcell-0.3.8}/src/kokkos/CMakeLists.txt +0 -0
  72. {linkcell-0.3.7 → linkcell-0.3.8}/src/kokkos/bench.cpp +0 -0
  73. {linkcell-0.3.7 → linkcell-0.3.8}/src/kokkos/knearest.cpp +0 -0
  74. {linkcell-0.3.7 → linkcell-0.3.8}/src/kokkos/knearest.hpp +0 -0
  75. {linkcell-0.3.7 → linkcell-0.3.8}/src/lib.rs +0 -0
  76. {linkcell-0.3.7 → linkcell-0.3.8}/src/pop.rs +0 -0
  77. {linkcell-0.3.7 → linkcell-0.3.8}/subprojects/gpulite.wrap +0 -0
  78. {linkcell-0.3.7 → linkcell-0.3.8}/subprojects/packagefiles/gpulite/meson.build +0 -0
  79. {linkcell-0.3.7 → linkcell-0.3.8}/tests/abi.rs +0 -0
  80. {linkcell-0.3.7 → linkcell-0.3.8}/tests/agree.rs +0 -0
  81. {linkcell-0.3.7 → linkcell-0.3.8}/tests/cmake-consumer/CMakeLists.txt +0 -0
  82. {linkcell-0.3.7 → linkcell-0.3.8}/tests/cmake-consumer/gpu.cpp +0 -0
  83. {linkcell-0.3.7 → linkcell-0.3.8}/tests/gpu_agree.cpp +0 -0
  84. {linkcell-0.3.7 → linkcell-0.3.8}/tests/python/test_agree_vesin.py +0 -0
  85. {linkcell-0.3.7 → linkcell-0.3.8}/tests/python/test_knearest_cuda.py +0 -0
  86. {linkcell-0.3.7 → linkcell-0.3.8}/tests/python/test_pairs.py +0 -0
  87. {linkcell-0.3.7 → linkcell-0.3.8}/third_party/gpulite/LICENSE +0 -0
  88. {linkcell-0.3.7 → linkcell-0.3.8}/third_party/gpulite/README.md +0 -0
  89. {linkcell-0.3.7 → linkcell-0.3.8}/third_party/gpulite/gpulite/gpulite.hpp +0 -0
  90. {linkcell-0.3.7 → linkcell-0.3.8}/towncrier.toml +0 -0
@@ -10,6 +10,12 @@ by [towncrier](https://towncrier.readthedocs.io/).
10
10
 
11
11
  <!-- towncrier release notes start -->
12
12
 
13
+ ## [0.3.8] - 2026-10-04
14
+
15
+ ### Fixed
16
+
17
+ - The dense-shell regression test sorts pair rows by index.
18
+
13
19
  ## [0.3.7] - 2026-10-04
14
20
 
15
21
  ### Fixed
@@ -79,7 +79,7 @@ checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
79
79
 
80
80
  [[package]]
81
81
  name = "linkcell"
82
- version = "0.3.7"
82
+ version = "0.3.8"
83
83
  dependencies = [
84
84
  "minimage",
85
85
  "rayon",
@@ -87,7 +87,7 @@ dependencies = [
87
87
 
88
88
  [[package]]
89
89
  name = "linkcell-python"
90
- version = "0.3.7"
90
+ version = "0.3.8"
91
91
  dependencies = [
92
92
  "cc",
93
93
  "dlpk",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "linkcell"
3
- version = "0.3.7"
3
+ version = "0.3.8"
4
4
  edition = "2021"
5
5
  rust-version = "1.70"
6
6
  description = "Periodic linked-cell cutoff pairs and k-nearest neighbour search"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: linkcell
3
- Version: 0.3.7
3
+ Version: 0.3.8
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: 3
6
6
  Classifier: Programming Language :: Python :: 3.12
@@ -96,7 +96,7 @@ As a wrap, Meson exposes `linkcell_dep`:
96
96
  ```
97
97
  [wrap-git]
98
98
  url = https://github.com/d-SEAMS/linkcell.git
99
- revision = v0.3.7
99
+ revision = v0.3.8
100
100
  depth = 1
101
101
 
102
102
  [provide]
@@ -74,7 +74,7 @@ As a wrap, Meson exposes `linkcell_dep`:
74
74
  ```
75
75
  [wrap-git]
76
76
  url = https://github.com/d-SEAMS/linkcell.git
77
- revision = v0.3.7
77
+ revision = v0.3.8
78
78
  depth = 1
79
79
 
80
80
  [provide]
@@ -20,7 +20,7 @@ the pointer.
20
20
  ```
21
21
  [wrap-git]
22
22
  url = https://github.com/d-SEAMS/linkcell.git
23
- revision = v0.3.7
23
+ revision = v0.3.8
24
24
  depth = 1
25
25
 
26
26
  [provide]
@@ -2,7 +2,7 @@ project(
2
2
  'linkcell',
3
3
  ['c', 'cpp'],
4
4
  # Keep in lockstep with Cargo.toml [package].version (source of truth).
5
- version: '0.3.7',
5
+ version: '0.3.8',
6
6
  meson_version: '>=1.2.0',
7
7
  license: 'MIT',
8
8
  default_options: [
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "linkcell"
7
- version = "0.3.7"
7
+ version = "0.3.8"
8
8
  description = "Periodic linked-cell cutoff pairs and k-nearest neighbour search"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "linkcell-python"
3
- version = "0.3.7"
3
+ version = "0.3.8"
4
4
  edition = "2021"
5
5
  rust-version = "1.88"
6
6
  license = "MIT"
@@ -1367,7 +1367,7 @@ mod tests {
1367
1367
  }
1368
1368
  }
1369
1369
  }
1370
- brute.sort_by(|a, b| (a.0, a.1).cmp(&(b.0, b.1)));
1370
+ brute.sort_by_key(|a| (a.0, a.1));
1371
1371
  let run = || pairs_within(&xyz, &sim, cutoff, None, None, false).unwrap();
1372
1372
  #[cfg(feature = "parallel")]
1373
1373
  let got = {
@@ -1380,7 +1380,7 @@ mod tests {
1380
1380
  #[cfg(not(feature = "parallel"))]
1381
1381
  let got = run();
1382
1382
  let mut rows: Vec<(usize, usize, f64)> = got.iter().map(|p| (p.i, p.j, p.dist2)).collect();
1383
- rows.sort_by(|a, b| (a.0, a.1).cmp(&(b.0, b.1)));
1383
+ rows.sort_by_key(|a| (a.0, a.1));
1384
1384
  assert_eq!(rows.len(), n * (n - 1));
1385
1385
  assert_eq!(rows.len(), brute.len());
1386
1386
  for (got_row, brute_row) in rows.iter().zip(brute.iter()) {
@@ -10,7 +10,7 @@ def _pair(xyz, cell, k, **kwargs):
10
10
 
11
11
 
12
12
  def test_version():
13
- assert linkcell.__version__ == "0.3.7"
13
+ assert linkcell.__version__ == "0.3.8"
14
14
 
15
15
 
16
16
  def test_periodic_image():
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes