We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18ab237 commit 97ad46fCopy full SHA for 97ad46f
1 file changed
splinepy/helpme/check.py
@@ -34,7 +34,7 @@ def valid_queries(spline, queries):
34
# Check minimum value
35
min_query = _np.min(queries, axis=0)
36
if _np.any(bounds[0, :] > min_query):
37
- error_dim = _np.where(bounds[1, :] > min_query)[0][0]
+ error_dim = _np.where(bounds[0, :] > min_query)[0][0]
38
error_query = _np.argmin(queries, axis=0)[error_dim]
39
raise ValueError(
40
f"Query request out of bounds in parametric dimension "
0 commit comments