deepsource-autofix[bot] commited on
Commit
48d4a45
1 Parent(s): 79ef9ab

Format code with black

Browse files

This commit fixes the style issues introduced in 79ef9ab according to the output
from black.

Details: https://deepsource.io/gh/MilesCranmer/PySR/transform/b049c0f5-3661-4855-b811-4700136385e7/

Files changed (1) hide show
  1. pysr/sr.py +3 -1
pysr/sr.py CHANGED
@@ -1068,7 +1068,9 @@ def get_hof(
1068
  cur_score = 0.0
1069
  else:
1070
  if curMSE > 0.0:
1071
- cur_score = -np.log(curMSE / lastMSE) / (curComplexity - lastComplexity)
 
 
1072
  else:
1073
  cur_score = np.inf
1074
 
 
1068
  cur_score = 0.0
1069
  else:
1070
  if curMSE > 0.0:
1071
+ cur_score = -np.log(curMSE / lastMSE) / (
1072
+ curComplexity - lastComplexity
1073
+ )
1074
  else:
1075
  cur_score = np.inf
1076