Skip to content

Commit

Permalink
Flush output stream after each generation report
Browse files Browse the repository at this point in the history
  • Loading branch information
lspector committed Jan 10, 2024
1 parent 71d378f commit 131be83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/propeller/gp.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
{:best-gene-count (utils/count-genes (:plushy best))
:average-gene-count (float (/ (reduce + (map utils/count-genes (map :plushy pop)))
(count pop)))}
{})))))
{})))
(flush)))

(defn cleanup
[]
Expand Down

0 comments on commit 131be83

Please sign in to comment.