Spaces:
Running
Running
MilesCranmer
commited on
Commit
·
3d94cb6
1
Parent(s):
28bb969
Fix bug with custom variable names
Browse files- pysr/sr.py +0 -3
pysr/sr.py
CHANGED
@@ -449,9 +449,6 @@ topn={topn:d},
|
|
449 |
verbosity=round(Int32, {verbosity:f})
|
450 |
"""
|
451 |
|
452 |
-
if use_custom_variable_names:
|
453 |
-
def_hyperparams += f""",
|
454 |
-
varMap = {'["' + '", "'.join(variable_names) + '"]'}"""
|
455 |
def_hyperparams += '\n)'
|
456 |
return def_hyperparams
|
457 |
|
|
|
449 |
verbosity=round(Int32, {verbosity:f})
|
450 |
"""
|
451 |
|
|
|
|
|
|
|
452 |
def_hyperparams += '\n)'
|
453 |
return def_hyperparams
|
454 |
|