summaryrefslogtreecommitdiffstats
path: root/src/debug.c
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-09-08 23:35:45 +0200
committerJesper Jensen <jesper@jnsn.dev>2026-09-08 23:35:45 +0200
commit754a18240de72cec691389825ffa3487f7052ca7 (patch)
treecca42feea0c56261de5f077363200c05370c2215 /src/debug.c
parent93427194d9df65e06751c9442cc95661bdbc354e (diff)
downloadconstraint-754a18240de72cec691389825ffa3487f7052ca7.tar.gz
constraint-754a18240de72cec691389825ffa3487f7052ca7.zip
I think we actually have the examples working
At the same time, for the first time
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 0a9767a..a538e13 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -11,8 +11,8 @@ void print_subassemblies(struct constraints *c, struct subassembly *assemblies,
fprintf(stderr, "=== Subassemblies: %zu ===\n", assemblies_num);
for(size_t i = 0; i < assemblies_num; i++) {
struct subassembly *a = &assemblies[i];
- fprintf(stderr, "Assembly %zu: %zu steps, fix=%zu, fixed=%s\n",
- i, a->steps_num, a->fix, a->fixed ? "yes" : "no");
+ fprintf(stderr, "Assembly %zu: %zu steps, fix=%zu, fixed=%s, parent=%zu\n",
+ i, a->steps_num, a->fix, a->fixed ? "yes" : "no", a->folded_into-assemblies);
if(a->articulation_num > 0) {
fprintf(stderr, " Articulations (%zu):\n", a->articulation_num);