Spaces:
Sleeping
Sleeping
Commit
·
eccca5d
1
Parent(s):
d80a372
Missing f-string
Browse files- pysr/sr.py +1 -1
pysr/sr.py
CHANGED
|
@@ -310,7 +310,7 @@ end"""
|
|
| 310 |
x[j] = """f"{unary_operators[0]}(x[j])""""
|
| 311 |
end"""
|
| 312 |
for i in range(1, len(unary_operators)):
|
| 313 |
-
op_runner += """
|
| 314 |
elseif i === {i+1}
|
| 315 |
@inbounds @simd for j=1:clen
|
| 316 |
x[j] = {unary_operators[i]}(x[j])
|
|
|
|
| 310 |
x[j] = """f"{unary_operators[0]}(x[j])""""
|
| 311 |
end"""
|
| 312 |
for i in range(1, len(unary_operators)):
|
| 313 |
+
op_runner += f"""
|
| 314 |
elseif i === {i+1}
|
| 315 |
@inbounds @simd for j=1:clen
|
| 316 |
x[j] = {unary_operators[i]}(x[j])
|