restore compilation without -DNDEBUG

This commit is contained in:
Axel Kohlmeyer
2025-06-22 18:40:58 -04:00
parent b3c403f464
commit 4a9fa1ba87

View File

@ -31,7 +31,7 @@ static int initialize_graphs(const ptm::refdata_t* s, int8_t* colours)
{
int8_t code[2 * PTM_MAX_EDGES];
int8_t degree[PTM_MAX_NBRS];
ptm::graph_degree(s->num_facets, s->graphs[i].facets, s->num_nbrs, degree);
int _max_degree = ptm::graph_degree(s->num_facets, s->graphs[i].facets, s->num_nbrs, degree);
assert(_max_degree <= s->max_degree);
make_facets_clockwise(s->num_facets, s->graphs[i].facets, &s->points[1]);