projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72fd875
)
bugs...
author
Brian Demsky
<bdemsky@uci.edu>
Fri, 27 Jul 2012 08:59:52 +0000
(
01:59
-0700)
committer
Brian Norris
<banorris@uci.edu>
Thu, 2 Aug 2012 17:12:53 +0000
(10:12 -0700)
nodestack.cc
patch
|
blob
|
history
diff --git
a/nodestack.cc
b/nodestack.cc
index 6f7e6a205f6a7e317b3373837fce74ee8cd202c1..77e24398931a0a2ee3d9e7bb662813ae4f3f7231 100644
(file)
--- a/
nodestack.cc
+++ b/
nodestack.cc
@@
-76,7
+76,7
@@
void Node::set_promise(uint32_t i) {
*/
bool Node::get_promise(uint32_t i) {
- return (promises[i]==2);
+ return (
i<promises.size())&&(
promises[i]==2);
}
/** This method increments to the next combination of promises.