Skip to content

Commit 33146d5

Browse files
committed
fix: remove raise warning when no weights provided to set_normal_constraints
1 parent f9aaf71 commit 33146d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

LoopStructural/interpolators/_geological_interpolator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ def set_normal_constraints(self, points: np.ndarray):
166166
"""
167167
if points.shape[1] == self.dimensions * 2:
168168
points = np.hstack([points, np.ones((points.shape[0], 1))])
169-
logger.warning(f"No weight provided for normal constraints, all weights are set to 1")
170-
raise Warning
169+
logger.info("No weight provided for normal constraints, all weights are set to 1")
171170
if points.shape[1] < self.dimensions * 2 + 1:
172171
raise ValueError("Normal constraints must at least have X,Y,Z,nx,ny,nz")
173172
self.n_n = points.shape[0]

0 commit comments

Comments
 (0)