Normand Briere
2019-05-01 d1e1417edc8a6ccf195b6da3270f22234dda61e4
RandomNode.java
....@@ -66,7 +66,7 @@
6666 // if (!link2master && rnd != -1)
6767 // new Exception().printStackTrace();
6868
69
- if (link2master && rnd != -1) // freeze current value
69
+ if (!random && rnd != -1) // freeze current value
7070 return super.reserve(rnd);
7171
7272 if (firstchoice == 0)
....@@ -142,7 +142,7 @@
142142 super.get(rnd).count++;
143143 //assert (child.count >= 0);
144144
145
- if (!link2master) // volatile value
145
+ if (random) // volatile value
146146 rnd = -1;
147147 }
148148