Skip to content

Commit 3896e18

Browse files
authored
fix the code to cube at the correct frequency (#7422)
Co-authored-by: stormckey <[email protected]>
1 parent 5993735 commit 3896e18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/smt/smt_parallel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ namespace smt {
149149
expr_ref c(pm);
150150

151151
pctx.get_fparams().m_max_conflicts = std::min(thread_max_conflicts, max_conflicts);
152-
if (num_rounds > 0 && (pctx.get_fparams().m_threads_cube_frequency % num_rounds) == 0)
152+
if (num_rounds > 0 && (num_rounds % pctx.get_fparams().m_threads_cube_frequency) == 0)
153153
cube(pctx, lasms, c);
154154
IF_VERBOSE(1, verbose_stream() << "(smt.thread " << i;
155155
if (num_rounds > 0) verbose_stream() << " :round " << num_rounds;

0 commit comments

Comments
 (0)