We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cbfd1a commit 8650d72Copy full SHA for 8650d72
src/analyses/apron/relationAnalysis.apron.ml
@@ -609,7 +609,7 @@ struct
609
|> Enum.filter_map (fun (lincons1: Apron.Lincons1.t) ->
610
(* filter one-vars and exact *)
611
(* 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
+ if (one_var || GobApron.Lincons1.num_vars lincons1 >= 2) && (exact || Apron.Lincons1.get_typ lincons1 <> EQ) then
613
RD.cil_exp_of_lincons1 lincons1
614
|> Option.map e_inv
615
|> Option.filter (fun exp -> not (InvariantCil.exp_contains_tmp exp) && InvariantCil.exp_is_in_scope scope exp)
0 commit comments