Skip to content

Commit

Permalink
Update src/bin/common/solving_loop.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Basile Clément <[email protected]>
  • Loading branch information
Stevendeo and bclement-ocp committed Nov 24, 2023
1 parent 528678e commit ca0bdb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/common/solving_loop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ let enable_maxsmt b =
let cmd_on_modes st modes cmd =
if O.get_input_format () = Some Options.Smtlib2 then begin
let curr_mode = DO.Mode.get st in
if List.for_all (Fun.negate (Util.equal_mode curr_mode)) modes then
if not (List.exists (Util.equal_mode curr_mode)) modes then
Errors.forbidden_command curr_mode cmd
end

Expand Down

0 comments on commit ca0bdb5

Please sign in to comment.