Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
5784d04
1
Parent(s):
bdb5450
Bump backend version with fixed safe operators
Browse files- pysr/version.py +1 -1
- test/test.py +2 -0
pysr/version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
__version__ = "0.11.8"
|
2 |
-
__symbolic_regression_jl_version__ = "0.14.
|
|
|
1 |
__version__ = "0.11.8"
|
2 |
+
__symbolic_regression_jl_version__ = "0.14.3"
|
test/test.py
CHANGED
@@ -74,6 +74,8 @@ class TestPipeline(unittest.TestCase):
|
|
74 |
y = self.X[:, 0]
|
75 |
model = PySRRegressor(
|
76 |
**self.default_test_kwargs,
|
|
|
|
|
77 |
procs=2,
|
78 |
multithreading=False,
|
79 |
turbo=True,
|
|
|
74 |
y = self.X[:, 0]
|
75 |
model = PySRRegressor(
|
76 |
**self.default_test_kwargs,
|
77 |
+
# Turbo needs to work with unsafe operators:
|
78 |
+
unary_operators=["sqrt"],
|
79 |
procs=2,
|
80 |
multithreading=False,
|
81 |
turbo=True,
|