Skip to content
Snippets Groups Projects
Commit b2759ed0 authored by David Bühler's avatar David Bühler
Browse files

Merge branch 'fix/eva/multidim-compare' into 'master'

[Eva] multidim: fix comparison operators

See merge request frama-c/frama-c!3952
parents e2662c43 a404fb45
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ open Lattice_bounds ...@@ -26,7 +26,7 @@ open Lattice_bounds
(* Composition operator for compare function *) (* Composition operator for compare function *)
let (<?>) c lcmp = let (<?>) c lcmp =
if c = 0 then 0 else Lazy.force lcmp if c <> 0 then c else Lazy.force lcmp
(* Imprecise bits abstraction *) (* Imprecise bits abstraction *)
......
...@@ -28,7 +28,7 @@ let no_oracle = fun _exp -> Int_val.top ...@@ -28,7 +28,7 @@ let no_oracle = fun _exp -> Int_val.top
(* Composition operator for compare function *) (* Composition operator for compare function *)
let (<?>) c lcmp = 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 ...@@ -30,7 +30,7 @@ let no_oracle = fun _exp -> Int_val.top
(* Composition operator for compare function *) (* Composition operator for compare function *)
let (<?>) c lcmp = 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 ...@@ -33,7 +33,7 @@ module Bound = Segmentation.Bound
(* Composition operator for compare function *) (* Composition operator for compare function *)
let (<?>) c lcmp = let (<?>) c lcmp =
if c = 0 then 0 else Lazy.force lcmp if c <> 0 then c else Lazy.force lcmp
(* Types compatibility *) (* 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