Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
44216ab
1
Parent(s):
05cf610
Fix output of jax exporter
Browse files- pysr/export.py +1 -1
pysr/export.py
CHANGED
@@ -154,4 +154,4 @@ def sympy2jax(equation, symbols_in):
|
|
154 |
text += functional_form_text
|
155 |
ldict = {}
|
156 |
exec(text, globals(), ldict)
|
157 |
-
return ldict[
|
|
|
154 |
text += functional_form_text
|
155 |
ldict = {}
|
156 |
exec(text, globals(), ldict)
|
157 |
+
return ldict[hash_string], jnp.array(parameters)
|