diff options
Diffstat (limited to 'passes/equiv/equiv_miter.cc')
-rw-r--r-- | passes/equiv/equiv_miter.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/equiv/equiv_miter.cc b/passes/equiv/equiv_miter.cc index 305bc09c4..23b348184 100644 --- a/passes/equiv/equiv_miter.cc +++ b/passes/equiv/equiv_miter.cc @@ -313,7 +313,7 @@ struct EquivMiterPass : public Pass { break; } - if (argidx+1 >= args.size()) + if (argidx >= args.size()) log_cmd_error("Invalid number of arguments.\n"); worker.miter_name = RTLIL::escape_id(args[argidx++]); |