From 432bc26b23f5a990c9f205f9899fa479debd53a1 Mon Sep 17 00:00:00 2001 From: krangelov Date: Wed, 22 Sep 2021 07:35:07 +0200 Subject: [PATCH] bugfix in PgfExprProbEstimator --- src/runtime/c/pgf/expr.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/runtime/c/pgf/expr.cxx b/src/runtime/c/pgf/expr.cxx index 262c3d074..d67ab1cd2 100644 --- a/src/runtime/c/pgf/expr.cxx +++ b/src/runtime/c/pgf/expr.cxx @@ -927,14 +927,14 @@ exit: PgfExpr PgfExprProbEstimator::eabs(PgfBindType bind_type, PgfText *name, PgfExpr body) { - m->match_type(this, body); + m->match_expr(this, body); return 0; } PgfExpr PgfExprProbEstimator::eapp(PgfExpr fun, PgfExpr arg) { - m->match_type(this, fun); - m->match_type(this, arg); + m->match_expr(this, fun); + m->match_expr(this, arg); return 0; } @@ -967,13 +967,13 @@ PgfExpr PgfExprProbEstimator::evar(int index) PgfExpr PgfExprProbEstimator::etyped(PgfExpr expr, PgfType ty) { - m->match_type(this, expr); + m->match_expr(this, expr); return 0; } PgfExpr PgfExprProbEstimator::eimplarg(PgfExpr expr) { - m->match_type(this, expr); + m->match_expr(this, expr); return 0; }