Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
0d60bb3
1
Parent(s):
84fdbc6
Fix ceiling function
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
@@ -62,7 +62,7 @@ sympy_mappings = {
|
|
62 |
"log2_abs": lambda x: sympy.log(abs(x), 2),
|
63 |
"log1p_abs": lambda x: sympy.log(abs(x) + 1),
|
64 |
"floor": sympy.floor,
|
65 |
-
"ceil": sympy.
|
66 |
"sign": sympy.sign,
|
67 |
"gamma": sympy.gamma,
|
68 |
}
|
|
|
62 |
"log2_abs": lambda x: sympy.log(abs(x), 2),
|
63 |
"log1p_abs": lambda x: sympy.log(abs(x) + 1),
|
64 |
"floor": sympy.floor,
|
65 |
+
"ceil": sympy.ceiling,
|
66 |
"sign": sympy.sign,
|
67 |
"gamma": sympy.gamma,
|
68 |
}
|