commit fb9b2e19e919e73c29c6394af1c9190d717cda22
parent 6f8a4568b043815779212c73e53bda5fe0e632e6
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Tue, 23 Jun 2020 11:37:35 +0200
Add a comment
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/sg2d_geometry.c b/src/sg2d_geometry.c
@@ -427,8 +427,10 @@ sg2d_geometry_add
#ifndef NDEBUG
{
double edge[2];
- const struct vertex* vertices = darray_vertex_cdata_get(&geom->unique_vertices);
- d2_sub(edge, vertices[tmp.vertex_ids[0]].coord, vertices[tmp.vertex_ids[1]].coord);
+ const struct vertex* vertices
+ = darray_vertex_cdata_get(&geom->unique_vertices);
+ d2_sub(edge, vertices[tmp.vertex_ids[0]].coord,
+ vertices[tmp.vertex_ids[1]].coord);
/* As vertices are deduplicated, an edge cannot be nul if vertices have
* distinct indices */
ASSERT(d2_len(edge) != 0);