Fix what I believe is a bug introduced while porting
This commit is contained in:
1 parent
d2b5457ff3
commit
01d39ec58d
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user