Spaces:
Running
Running
deepsource-autofix[bot]
deepsource-autofix[bot]
commited on
Commit
•
8c50fca
1
Parent(s):
9b49654
Format code with black (#195)
Browse filesThis commit fixes the style issues introduced in 9b49654 according to the output
from black.
Details: https://deepsource.io/gh/MilesCranmer/PySR/transform/b2ff6f04-c0ef-4ccc-bfa0-0761146d8e22/
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
- example.py +1 -1
example.py
CHANGED
@@ -14,7 +14,7 @@ model = PySRRegressor(
|
|
14 |
"exp",
|
15 |
"sin",
|
16 |
"inv(x) = 1/x",
|
17 |
-
|
18 |
],
|
19 |
extra_sympy_mappings={"inv": lambda x: 1 / x},
|
20 |
# ^ Define operator for SymPy as well
|
|
|
14 |
"exp",
|
15 |
"sin",
|
16 |
"inv(x) = 1/x",
|
17 |
+
# ^ Custom operator (julia syntax)
|
18 |
],
|
19 |
extra_sympy_mappings={"inv": lambda x: 1 / x},
|
20 |
# ^ Define operator for SymPy as well
|