Skip to content

Commit

Permalink
make sure that the end_of_generation callback also gets called in the…
Browse files Browse the repository at this point in the history
… initial generation
  • Loading branch information
KRM7 committed Aug 26, 2023
1 parent 8a5153b commit 9cbbe88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/ga_base.impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ namespace gapp

metrics_.initialize(*this);
metrics_.update(*this);

if (end_of_generation_callback_) end_of_generation_callback_(*this);
}

template<typename T>
Expand Down

0 comments on commit 9cbbe88

Please sign in to comment.