Skip to content

Commit 8650d72

Browse files
committed
Fix mismerge of Lincons1.num_vars usage in ed06c34
1 parent 4cbfd1a commit 8650d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/apron/relationAnalysis.apron.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ struct
609609
|> Enum.filter_map (fun (lincons1: Apron.Lincons1.t) ->
610610
(* filter one-vars and exact *)
611611
(* TODO: exact filtering doesn't really work with octagon because it returns two SUPEQ constraints instead *)
612-
if (one_var || Apron.Linexpr0.get_size lincons1.lincons0.linexpr0 >= 2) && (exact || Apron.Lincons1.get_typ lincons1 <> EQ) then
612+
if (one_var || GobApron.Lincons1.num_vars lincons1 >= 2) && (exact || Apron.Lincons1.get_typ lincons1 <> EQ) then
613613
RD.cil_exp_of_lincons1 lincons1
614614
|> Option.map e_inv
615615
|> Option.filter (fun exp -> not (InvariantCil.exp_contains_tmp exp) && InvariantCil.exp_is_in_scope scope exp)

0 commit comments

Comments
 (0)