Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Merge pull request #187 from MilesCranmer/deepsource-transform-f20a494b
Browse files- pysr/julia_helpers.py +1 -1
pysr/julia_helpers.py
CHANGED
@@ -84,7 +84,7 @@ def is_julia_version_greater_eq(Main, version="1.6"):
|
|
84 |
return Main.eval(f'VERSION >= v"{version}"')
|
85 |
|
86 |
|
87 |
-
def check_for_conflicting_libraries():
|
88 |
"""Check whether there are conflicting modules, and display warnings."""
|
89 |
# See https://github.com/pytorch/pytorch/issues/78829: importing
|
90 |
# pytorch before running `pysr.fit` causes a segfault.
|
|
|
84 |
return Main.eval(f'VERSION >= v"{version}"')
|
85 |
|
86 |
|
87 |
+
def check_for_conflicting_libraries(): # pragma: no cover
|
88 |
"""Check whether there are conflicting modules, and display warnings."""
|
89 |
# See https://github.com/pytorch/pytorch/issues/78829: importing
|
90 |
# pytorch before running `pysr.fit` causes a segfault.
|