MilesCranmer commited on
Commit
4b7293a
1 Parent(s): d44e449

Only increase max size when warming up

Browse files
Files changed (1) hide show
  1. julia/sr.jl +6 -1
julia/sr.jl CHANGED
@@ -1086,7 +1086,12 @@ function fullRun(niterations::Integer;
1086
  end
1087
  println("Started!")
1088
  cycles_complete = npopulations * niterations
1089
- curmaxsize += 1
 
 
 
 
 
1090
 
1091
  last_print_time = time()
1092
  num_equations = 0.0
 
1086
  end
1087
  println("Started!")
1088
  cycles_complete = npopulations * niterations
1089
+ if warmupMaxsize != 0
1090
+ curmaxsize += 1
1091
+ if curmaxsize > maxsize
1092
+ curmaxsize = maxsize
1093
+ end
1094
+ end
1095
 
1096
  last_print_time = time()
1097
  num_equations = 0.0