Skip to content

Commit 59c9b65

Browse files
0.28.10
print removed
1 parent 2cab0c3 commit 59c9b65

2 files changed

Lines changed: 1 addition & 4 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.28.9"
10+
version = "0.28.10"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotpython/utils/repair.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ def remove_nan(X: np.ndarray, y: np.ndarray, stop_on_zero_return: bool = False)
6060
>>> print(X_cleaned, y_cleaned)
6161
[[1 2]] [[1. 2.]]
6262
"""
63-
print(f"remove_nan: X.shape={X.shape}, y.shape={y.shape}")
64-
print(f"remove_nan: X={X},\n y={y}")
6563
# Get the original dimension of the y array
6664
original_dim = y.shape[0]
6765

@@ -72,7 +70,6 @@ def remove_nan(X: np.ndarray, y: np.ndarray, stop_on_zero_return: bool = False)
7270
ind = np.all(np.isfinite(y), axis=0)
7371
else:
7472
raise ValueError("y must be a 1D or 2D array.")
75-
print(f"remove_nan: ind={ind}")
7673

7774
# Update X and y by removing rows with NaN in y
7875
X_cleaned = X[ind, :]

0 commit comments

Comments
 (0)