MilesCranmer commited on
Commit
db9be07
·
1 Parent(s): 2b01937

Fix missing size definition

Browse files
Files changed (1) hide show
  1. julia/sr.jl +1 -1
julia/sr.jl CHANGED
@@ -853,7 +853,7 @@ function fullRun(niterations::Integer;
853
  curMSE = baselineSSE ./ len
854
  @printf("%-10d %-5.3e %-8s %-.f\n", 0, curMSE, "NaN", avgy)
855
  lastMSE = curMSE
856
- lastComplexity = size
857
 
858
  for size=1:actualMaxsize
859
  if hallOfFame.exists[size]
 
853
  curMSE = baselineSSE ./ len
854
  @printf("%-10d %-5.3e %-8s %-.f\n", 0, curMSE, "NaN", avgy)
855
  lastMSE = curMSE
856
+ lastComplexity = 0
857
 
858
  for size=1:actualMaxsize
859
  if hallOfFame.exists[size]