Skip to content

Commit

Permalink
Use std::size instead of std::ssize when comparing against a size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasColthurst committed Jun 10, 2024
1 parent 972271f commit 52ce12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cxx/tests/test_hirm_animals.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main(int argc, char** argv) {
n_obs_unary += std::visit([](const auto r) {return r->data.size();}, relation);
}
}
assert(n_obs_unary == std::ssize(observations_unary));
assert(n_obs_unary == std::size(observations_unary));

hirm.transition_cluster_assignments_all();
hirm.transition_cluster_assignments_all();
Expand Down

0 comments on commit 52ce12f

Please sign in to comment.