From 889c0f3df401e98a0d5839654f9d460cde49663e Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Mon, 6 Oct 2014 09:04:25 +0000 Subject: partial implementation for the FAIL instruction --- src/runtime/c/pgf/evaluator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/c/pgf/evaluator.c') diff --git a/src/runtime/c/pgf/evaluator.c b/src/runtime/c/pgf/evaluator.c index e5041adb0..a53279cb3 100644 --- a/src/runtime/c/pgf/evaluator.c +++ b/src/runtime/c/pgf/evaluator.c @@ -254,7 +254,7 @@ pgf_value2expr(PgfEvalState* state, int level, PgfClosure* clos, GuPool* pool) PgfValue* val = (PgfValue*) clos; expr = val->absfun->ep.expr; - n_args = gu_seq_length(val->absfun->type->hypos); + n_args = val->absfun->arity; args = val->args; } else if (clos->code == state->eval_gates->evaluate_value_gen) { PgfValueGen* val = (PgfValueGen*) clos; -- cgit v1.2.3