From 52ce12f2f5a5ebfe428a0c9aecae5143a37c487c Mon Sep 17 00:00:00 2001 From: Thomas Colthurst Date: Mon, 10 Jun 2024 19:52:40 +0000 Subject: [PATCH] Use std::size instead of std::ssize when comparing against a size_t --- cxx/tests/test_hirm_animals.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cxx/tests/test_hirm_animals.cc b/cxx/tests/test_hirm_animals.cc index 8c2004a..47d8fdd 100644 --- a/cxx/tests/test_hirm_animals.cc +++ b/cxx/tests/test_hirm_animals.cc @@ -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();