projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkpoint harmony
[sbp.git]
/
src
/
edu
/
berkeley
/
sbp
/
GSS.java
diff --git
a/src/edu/berkeley/sbp/GSS.java
b/src/edu/berkeley/sbp/GSS.java
index
8053ae8
..
993c21f
100644
(file)
--- a/
src/edu/berkeley/sbp/GSS.java
+++ b/
src/edu/berkeley/sbp/GSS.java
@@
-296,11
+296,7
@@
class GSS {
class Reset extends RuntimeException { }
public void invoke(State st, Forest result, Node n) {
class Reset extends RuntimeException { }
public void invoke(State st, Forest result, Node n) {
- boolean ok = next.newNode(n, result, st, false);
- if (ok && !good) {
- good = !st.lame();
- //if (good) System.out.println(st);
- }
+ good |= next.newNode(n, result, st, false);
}
/** perform all shift operations, adding promoted nodes to <tt>next</tt> */
}
/** perform all shift operations, adding promoted nodes to <tt>next</tt> */