Skip to content

Commit db997cd

Browse files
fix regression, missing idx increment in iterator loop #7566
1 parent a731046 commit db997cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/qe/mbp/mbp_arrays_tg.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ struct mbp_array_tg::impl {
201201
in = true;
202202
eq_index = idx;
203203
break;
204-
}
204+
}
205+
++idx;
205206
}
206207
if (in) {
207208
peq p_new = mk_wr_peq(a, p.rhs(), indices);

0 commit comments

Comments
 (0)