projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f9eb95
)
embarrassing bug...fixed...
author
Brian Demsky
<bdemsky@uci.edu>
Thu, 25 Oct 2012 04:37:02 +0000
(21:37 -0700)
committer
Brian Demsky
<bdemsky@uci.edu>
Thu, 25 Oct 2012 04:37:02 +0000
(21:37 -0700)
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index 134e457eb44468e02c4d9879e89e1c25a1679c2a..e5926730b87c512b388e058a23f08e031a5df33a 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-1815,6
+1815,7
@@
void ModelChecker::compute_promises(ModelAction *curr)
act->is_read() &&
!act->could_synchronize_with(curr) &&
!act->same_thread(curr) &&
+ act->get_location() == curr->get_location() &&
promise->get_value() == curr->get_value()) {
curr->get_node()->set_promise(i);
}