handle linref when the argument is an unknown function

This commit is contained in:
Krasimir Angelov
2022-06-24 06:31:28 +02:00
parent f51f6240b6
commit 635dc380a3

View File

@@ -418,6 +418,8 @@ bool PgfLinearizer::TreeLinrefNode::resolve(PgfLinearizer *linearizer)
{
TreeNode *root = args;
ref<PgfConcrLincat> lincat = root->get_lincat(linearizer);
if (lincat == 0)
return true;
while (lincat->n_lindefs+lin_index < lincat->res->len) {
// Unbind all variables