Skip to content

Commit

Permalink
Fix invariant_set loop_invariant option check
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Nov 9, 2023
1 parent d884744 commit a933266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/witness/yamlWitness.ml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ struct

(* Generate loop invariants *)
let invariants =
if entry_type_enabled YamlWitnessType.InvariantSet.LoopInvariant.invariant_type then (
if invariant_type_enabled YamlWitnessType.InvariantSet.LoopInvariant.invariant_type then (
NH.fold (fun n local acc ->
let loc = Node.location n in
if WitnessInvariant.emit_loop_head && WitnessUtil.NH.mem WitnessInvariant.loop_heads n then (
Expand Down

0 comments on commit a933266

Please sign in to comment.