From b04d5a90686029d4dae3c13265c86dfefc3734d6 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 29 Jan 2017 10:47:54 +0000 Subject: [PATCH] Fix for GitHub issue #142 - assertion failure when parameter expression contains undefined variable. (cherry picked from commit 8f6f999ea721d42ddba1bd78d48fd0534a983038) --- elab_expr.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/elab_expr.cc b/elab_expr.cc index 6a98ceb04..7eb4bedd8 100644 --- a/elab_expr.cc +++ b/elab_expr.cc @@ -5677,7 +5677,6 @@ unsigned PETernary::test_width(Design*des, NetScope*scope, width_mode_t&mode) } else if (tru_type == IVL_VT_LOGIC || fal_type == IVL_VT_LOGIC) { expr_type_ = IVL_VT_LOGIC; } else { - ivl_assert(*this, tru_type == fal_type); expr_type_ = tru_type; } if (expr_type_ == IVL_VT_REAL) {