Skip to content

Commit 8138829

Browse files
fix #7616
1 parent d792840 commit 8138829

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/api_solver.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,7 @@ extern "C" {
11851185
Z3_TRY;
11861186
LOG_Z3_solver_set_initial_value(c, s, var, value);
11871187
RESET_ERROR_CODE();
1188+
init_solver(c, s);
11881189
if (to_expr(var)->get_sort() != to_expr(value)->get_sort()) {
11891190
SET_ERROR_CODE(Z3_INVALID_USAGE, "variable and value should have same sort");
11901191
return;

0 commit comments

Comments
 (0)