Skip to content

Commit 390891e

Browse files
Change range
1 parent 909942c commit 390891e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deeplc/deeplc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def calibration_core(self, uncal_preds, cal_dict, cal_min, cal_max):
487487
y_pred_right = linear_model_right.predict(uncal_preds.reshape(-1, 1))
488488

489489
# Use spline model within the range of X
490-
within_range = (uncal_preds >= cal_min()) & (uncal_preds <= cal_max())
490+
within_range = (uncal_preds >= cal_min) & (uncal_preds <= cal_max)
491491
within_range = (
492492
within_range.ravel()
493493
) # Ensure this is a 1D array for proper indexing

0 commit comments

Comments
 (0)