Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emilydolson committed Feb 29, 2024
1 parent 46610db commit 915bc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Evolve/Systematics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ TEST_CASE("Test not tracking ancestors", "[Evolve]") {
CHECK(sys.GetNumOutside() == 0);

auto active = sys.GetActive();
emp::vector<emp::Ptr<emp::Taxon< active_vec(active.begin(), active.end());
emp::vector<emp::Ptr<emp::Taxon<int>>> 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

0 comments on commit 915bc4c

Please sign in to comment.