qmc-sampler 2.0.0__tar.gz → 2.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: qmc-sampler
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: QMC sampling methods based on blue_sampler
5
5
  Project-URL: Repository, https://github.com/For-a-few-DPPs-more/hyperuniform-samplers
6
6
  License: MIT
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
5
5
 
6
6
  [project]
7
7
  name = "qmc-sampler"
8
- version = "2.0.0"
8
+ version = "2.0.2"
9
9
  description = "QMC sampling methods based on blue_sampler"
10
10
  readme = "README.md"
11
11
  license = { text = "MIT" }
@@ -38,4 +38,4 @@ def plot_structure_factor(*args, **kwargs):
38
38
  return _psf(*args, **kwargs)
39
39
 
40
40
  __all__ = ["sample_l1", "sample_l2", "sample_wd", "plot", "plot_structure_factor"]
41
- __version__ = "2.0.0"
41
+ __version__ = "2.0.2"
@@ -306,7 +306,7 @@ def get_wave_vectors(
306
306
  if mode == "l2":
307
307
  from blue_sampler.run.run_nufft_helpers import get_wave_vectors as gwv_l2
308
308
  WV = gwv_l2(N, D, chi, rng)
309
- K, M = delete_last_incomplete_orbit(WV.k, WV.W)
309
+ K, M = delete_last_incomplete_orbit(WV.k, WV.w)
310
310
  return K, M
311
311
 
312
312
  rng = np.random.default_rng() if rng is None else rng
File without changes
File without changes