Spaces:
Running
Running
MilesCranmer
commited on
Commit
·
3772652
1
Parent(s):
2ceb526
Remove unused sympy.round
Browse files- pysr/export.py +0 -1
- pysr/sr.py +0 -1
pysr/export.py
CHANGED
@@ -53,7 +53,6 @@ try:
|
|
53 |
sympy.Max: "jnp.max",
|
54 |
sympy.Min: "jnp.min",
|
55 |
sympy.Mod: "jnp.mod",
|
56 |
-
sympy.round: 'jnp.round'
|
57 |
}
|
58 |
except ImportError:
|
59 |
...
|
|
|
53 |
sympy.Max: "jnp.max",
|
54 |
sympy.Min: "jnp.min",
|
55 |
sympy.Mod: "jnp.mod",
|
|
|
56 |
}
|
57 |
except ImportError:
|
58 |
...
|
pysr/sr.py
CHANGED
@@ -53,7 +53,6 @@ sympy_mappings = {
|
|
53 |
'floor': lambda x : sympy.floor(x),
|
54 |
'ceil': lambda x : sympy.ceil(x),
|
55 |
'sign': lambda x : sympy.sign(x),
|
56 |
-
'round': lambda x : sympy.round(x),
|
57 |
}
|
58 |
|
59 |
def pysr(X=None, y=None, weights=None,
|
|
|
53 |
'floor': lambda x : sympy.floor(x),
|
54 |
'ceil': lambda x : sympy.ceil(x),
|
55 |
'sign': lambda x : sympy.sign(x),
|
|
|
56 |
}
|
57 |
|
58 |
def pysr(X=None, y=None, weights=None,
|