File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public void initAndValidate() {
200200
201201 // State initialisation
202202 final HashSet <StateNode > operatorStateNodes = new HashSet <>();
203- for (final Operator op : operatorsInput . get () ) {
203+ for (final Operator op : operatorSchedule . operators ) {
204204 for (final StateNode stateNode : op .listStateNodes ()) {
205205 operatorStateNodes .add (stateNode );
206206 }
@@ -443,6 +443,7 @@ protected void doLoop() throws IOException {
443443 for (long sampleNr = -burnIn ; sampleNr <= chainLength ; sampleNr ++) {
444444 final Operator operator = propagateState (sampleNr );
445445
446+
446447 if (debugFlag && sampleNr % 1 == 0 || sampleNr % 10000 == 0 ) {
447448 // check that the posterior is correctly calculated at every third
448449 // sample, as long as we are in debug mode
You can’t perform that action at this time.
0 commit comments