Skip to content

Commit 340bc3c

Browse files
committed
TST add equivalence check for sample weights
1 parent 74dbde9 commit 340bc3c

File tree

3 files changed

+152
-142
lines changed

3 files changed

+152
-142
lines changed

Diff for: fastcan/narx.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,7 @@ def _validate_feat_delay_ids(
353353
)
354354
# Check if any row of feat_ids only contains -1
355355
if np.all(feat_ids_ == -1, axis=1).any():
356-
raise ValueError(
357-
"`feat_ids` should not contain rows that only have -1."
358-
)
356+
raise ValueError("`feat_ids` should not contain rows that only have -1.")
359357
# Validate delay_ids
360358
delay_ids_ = check_array(
361359
delay_ids,

0 commit comments

Comments
 (0)