Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
fb6cbfb
1
Parent(s):
1128fce
Bump backend version with renamed pow->pow_abs
Browse files- pysr/sr.py +2 -1
- pysr/version.py +2 -2
pysr/sr.py
CHANGED
@@ -43,7 +43,8 @@ sympy_mappings = {
|
|
43 |
"plus": lambda x, y: x + y,
|
44 |
"sub": lambda x, y: x - y,
|
45 |
"neg": lambda x: -x,
|
46 |
-
"pow": lambda x, y:
|
|
|
47 |
"cos": sympy.cos,
|
48 |
"sin": sympy.sin,
|
49 |
"tan": sympy.tan,
|
|
|
43 |
"plus": lambda x, y: x + y,
|
44 |
"sub": lambda x, y: x - y,
|
45 |
"neg": lambda x: -x,
|
46 |
+
"pow": lambda x, y: sympy.Function("unimplemented_pow")(x, y),
|
47 |
+
"pow_abs": lambda x, y: abs(x) ** y,
|
48 |
"cos": sympy.cos,
|
49 |
"sin": sympy.sin,
|
50 |
"tan": sympy.tan,
|
pysr/version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
__version__ = "0.9.
|
2 |
-
__symbolic_regression_jl_version__ = "0.9.
|
|
|
1 |
+
__version__ = "0.9.5"
|
2 |
+
__symbolic_regression_jl_version__ = "0.9.7"
|