Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
c0fe352
1
Parent(s):
3c6a750
Update TODOs
Browse files- pysr/sr.py +1 -0
pysr/sr.py
CHANGED
@@ -426,6 +426,7 @@ def pysr(
|
|
426 |
bin_constraints = [constraints[op] for op in binary_operators]
|
427 |
|
428 |
try:
|
|
|
429 |
term_width = shutil.get_terminal_size().columns
|
430 |
except:
|
431 |
_, term_width = subprocess.check_output(["stty", "size"]).split()
|
|
|
426 |
bin_constraints = [constraints[op] for op in binary_operators]
|
427 |
|
428 |
try:
|
429 |
+
# TODO: is this needed since Julia now prints directly to stdout?
|
430 |
term_width = shutil.get_terminal_size().columns
|
431 |
except:
|
432 |
_, term_width = subprocess.check_output(["stty", "size"]).split()
|