Skip to content

Commit 5ecc179

Browse files
0.29.11
documentation
1 parent 8f62f62 commit 5ecc179

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "spotpython"
10-
version = "0.29.10"
10+
version = "0.29.11"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotpython/utils/sampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def mmphi(X: np.ndarray, q: Optional[float] = 2.0, p: Optional[float] = 1.0) ->
356356
>>> # Calculate the space-fillingness metric with q=2, using Euclidean distances (p=2)
357357
>>> quality = mmphi(X, q=2, p=2)
358358
>>> print(quality)
359-
# This value indicates how well points are spread out, with higher being better.
359+
# This value indicates how well points are spread out, with smaller being better.
360360
"""
361361
# Compute the distance multiplicities: J, and unique distances: d
362362
J, d = jd(X, p)
@@ -558,7 +558,7 @@ def mmlhs(X_start: np.ndarray, population: int, iterations: int, q: Optional[flo
558558
559559
Examples:
560560
>>> import numpy as np
561-
>>> from your_module import mmlhs
561+
>>> from spotpython.utils.sampling import mmlhs
562562
>>> # Suppose we have an initial 4x2 plan
563563
>>> X_start = np.array([
564564
... [0, 0],

0 commit comments

Comments
 (0)