Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cool
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hans-Peter Deifel
cool
Commits
92102c11
Commit
92102c11
authored
9 years ago
by
Christoph
Browse files
Options
Downloads
Patches
Plain Diff
Don't assume Open means Sat when finished
Assumption doesn't hold true currently
parent
3f073372
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/lib/CoAlgReasoner.ml
+3
-3
3 additions, 3 deletions
src/lib/CoAlgReasoner.ml
with
3 additions
and
3 deletions
src/lib/CoAlgReasoner.ml
+
3
−
3
View file @
92102c11
...
...
@@ -244,7 +244,7 @@ let propagateSatMu () =
(
setLengthCore
setCores
)
=
(
setLengthCore
allowedCores
)
then
begin
setIterState
(
fun
state
->
stateSetStatus
state
Sat
)
setStates
;
setIterCore
(
fun
core
->
coreSetStatus
core
Sat
)
setCores
;
setIterCore
(
fun
core
->
coreSetStatus
core
Sat
;
if
core
==
graphGetRoot
()
then
raise
(
CoAlg_finished
true
)
else
()
)
setCores
;
end
else
fixpointstep
allowedStates
allowedCores
in
...
...
@@ -908,8 +908,8 @@ let isRootSat () =
match
coreGetStatus
(
graphGetRoot
()
)
with
|
Expandable
->
None
|
Unsat
->
Some
false
|
Sat
|
Open
->
if
(
queueIsEmpty
()
)
then
Some
tru
e
else
None
|
Sat
->
if
(
queueIsEmpty
()
)
then
Some
true
else
None
|
Open
->
if
(
queueIsEmpty
()
)
then
Some
fals
e
else
None
let
reasonerFinished
()
=
match
coreGetStatus
(
graphGetRoot
()
)
with
...
...
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