Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
afef357
1
Parent(s):
6decb44
Fix some jax function equivalencies
Browse files- pysr/export.py +2 -2
pysr/export.py
CHANGED
@@ -45,8 +45,8 @@ try:
|
|
45 |
# Note: May raise error for ints and complexes
|
46 |
sympy.erf: "jsp.erf",
|
47 |
sympy.erfc: "jsp.erfc",
|
48 |
-
sympy.LessThan: "jnp.
|
49 |
-
sympy.GreaterThan: "jnp.
|
50 |
sympy.And: "jnp.logical_and",
|
51 |
sympy.Or: "jnp.logical_or",
|
52 |
sympy.Not: "jnp.logical_not",
|
|
|
45 |
# Note: May raise error for ints and complexes
|
46 |
sympy.erf: "jsp.erf",
|
47 |
sympy.erfc: "jsp.erfc",
|
48 |
+
sympy.LessThan: "jnp.less",
|
49 |
+
sympy.GreaterThan: "jnp.greater",
|
50 |
sympy.And: "jnp.logical_and",
|
51 |
sympy.Or: "jnp.logical_or",
|
52 |
sympy.Not: "jnp.logical_not",
|