Skip to content
Snippets Groups Projects
Commit a404fb45 authored by Valentin Perrelle's avatar Valentin Perrelle Committed by David Bühler
Browse files

[Eva] multidim: fix comparison operators

parent e2662c43
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ open Lattice_bounds
(* Composition operator for compare function *)
let (<?>) c lcmp =
if c = 0 then 0 else Lazy.force lcmp
if c <> 0 then c else Lazy.force lcmp
(* Imprecise bits abstraction *)
......
......@@ -28,7 +28,7 @@ let no_oracle = fun _exp -> Int_val.top
(* Composition operator for compare function *)
let (<?>) c lcmp =
if c = 0 then 0 else Lazy.force lcmp
if c <> 0 then c else Lazy.force lcmp
(* ------------------------------------------------------------------------ *)
......
......@@ -30,7 +30,7 @@ let no_oracle = fun _exp -> Int_val.top
(* Composition operator for compare function *)
let (<?>) c lcmp =
if c = 0 then 0 else Lazy.force lcmp
if c <> 0 then c else Lazy.force lcmp
(* ------------------------------------------------------------------------ *)
......
......@@ -33,7 +33,7 @@ module Bound = Segmentation.Bound
(* Composition operator for compare function *)
let (<?>) c lcmp =
if c = 0 then 0 else Lazy.force lcmp
if c <> 0 then c else Lazy.force lcmp
(* Types compatibility *)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment