tidy up output
This commit is contained in:
1 parent
69784ff0de
commit
d513374a8a
1 file changed
+1
@@ -42,6 +42,7 @@ def main
|
||||
$stdout.write("\rGrade: #{last_best}, output: #{programs.first.last.execute.inspect} ")
|
||||
end
|
||||
if programs.first.first == 0
|
||||
puts
|
||||
puts "Program found after #{generation} generations:"
|
||||
puts programs.first.last
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user