detect failures to resolve linearization

This commit is contained in:
krangelov committed 2021-12-02 15:28:48 +01:00
1 parent 9ca68b1b4b
commit dc344fccc0
1 file changed
+3
+3
View File
@@ -139,6 +139,9 @@ bool PgfLinearizer::resolve()
node->var_values[j] = (size_t) -1;
}
}
if (node->lin_index > node->lin->res->len)
return false;
}
node = node->next;