Skip to content

Commit b4822a0

Browse files
committed
Switched if condition to check is False
1 parent e2c12ba commit b4822a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stumpy/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4541,7 +4541,7 @@ def check_self_join(ignore_trivial):
45414541
stumpy.stump(T, m, ignore_trivial=False)
45424542
```
45434543
"""
4544-
if not ignore_trivial:
4544+
if ignore_trivial is False:
45454545
msg = "`ignore_trivial` cannot be `False` for a self-join and "
45464546
msg += "has been automatically overridden and set to `True`."
45474547
warnings.warn(msg)

0 commit comments

Comments
 (0)