Fix what I believe is a bug introduced while porting
This commit is contained in:
parent
d2b5457ff3
commit
01d39ec58d
@ -108,7 +108,7 @@ abstract class Model {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int _nextUnobservedNode(Random random) {
|
int _nextUnobservedNode(Random random) {
|
||||||
if (_heuristic == Heuristic.Entropy) {
|
if (_heuristic == Heuristic.Scanline) {
|
||||||
for (var i = _observedSoFar; i < _wave.length; i++) {
|
for (var i = _observedSoFar; i < _wave.length; i++) {
|
||||||
if (!_periodic && (i % cMx + cN > cMx || i ~/ cMx + cN > cMy)) {
|
if (!_periodic && (i % cMx + cN > cMx || i ~/ cMx + cN > cMy)) {
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user