summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-04-18 16:14:51 +0200
committerJesper Jensen <jesper@jnsn.dev>2026-04-18 16:14:51 +0200
commit2dbf9aed304c69431038d3b37e614e5d45dbcc56 (patch)
tree4caf35d63499d0e80716b5b180fea15d218ddb58 /src/debug.c
parent9688f8f0f685bb93e9d74e7d5e74eeb1939b94aa (diff)
Make the triangle work again
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c
index 6027ed4..92540fc 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -30,11 +30,11 @@ void print_subassemblies(struct constraints *c, struct subassembly *assemblies,
component_type_name[ct->c2->type], (void*)ct->c2);
}
}
- fprintf(stderr, " Unused constraints:\n");
+ fprintf(stderr, "Unused constraints:\n");
for(size_t j = 0; j < c->length; j++) {
struct constraint *ct = &c->elements[j];
if(ct->used != 0) continue;
- fprintf(stderr, " [%zu] %s v=%.2f (%s %p, %s %p)\n",
+ fprintf(stderr, " [%zu] %s v=%.2f (%s %p, %s %p)\n",
j, constraint_type_name[ct->type], ct->v,
component_type_name[ct->c1->type], (void*)ct->c1,
component_type_name[ct->c2->type], (void*)ct->c2);