Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
8ca7c3bc
Commit
8ca7c3bc
authored
3 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Results: fixes [equality_class] in case no equality is found.
parent
bb0f1990
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/value/utils/results.ml
+2
-1
2 additions, 1 deletion
src/plugins/value/utils/results.ml
with
2 additions
and
1 deletion
src/plugins/value/utils/results.ml
+
2
−
1
View file @
8ca7c3bc
...
@@ -291,7 +291,8 @@ struct
...
@@ -291,7 +291,8 @@ struct
let
hce
=
Hcexprs
.
HCE
.
of_exp
exp
in
let
hce
=
Hcexprs
.
HCE
.
of_exp
exp
in
let
extract'
state
=
let
extract'
state
=
let
equalities
=
Equality_domain
.
project
(
extract
state
)
in
let
equalities
=
Equality_domain
.
project
(
extract
state
)
in
NonTrivial
(
Set
.
find
hce
equalities
)
try
NonTrivial
(
Set
.
find
hce
equalities
)
with
Not_found
->
Trivial
and
reduce
e1
e2
=
and
reduce
e1
e2
=
match
e1
,
e2
with
match
e1
,
e2
with
|
Trivial
,
_
|
_
,
Trivial
->
Trivial
|
Trivial
,
_
|
_
,
Trivial
->
Trivial
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment