Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement, test GetSumDistance for systematics manager #507

Merged
merged 8 commits into from
Feb 29, 2024
Prev Previous commit
Next Next commit
Merge branch 'mabe-systematics' into sum-distance-sys
  • Loading branch information
emilydolson authored Feb 28, 2024
commit 8f10adfc6d2380b071d2ea7b34b8552ca4c9ed38
2 changes: 1 addition & 1 deletion tests/Evolve/Systematics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ TEST_CASE("Test not tracking ancestors", "[Evolve]")
CHECK(sys.GetNumOutside() == 0);

auto active = sys.GetActive();
emp::vector<emp::Ptr<emp::Taxon<int>>> active_vec(active.begin(), active.end());
emp::vector<emp::Ptr<emp::Taxon< active_vec(active.begin(), active.end());
emp::Sort(active_vec, [](emp::Ptr<emp::Taxon<int>> & a, emp::Ptr<emp::Taxon<int>> & b){
return a->GetID() < b->GetID();
});
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.