Skip to content

Commit 1a75296

Browse files
committed
size() over m for distribution
1 parent 1e9ae7c commit 1a75296

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/chessmodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ struct ChessModel : Model {
228228
std::cout << "\n";
229229
float min = 10000000;
230230
float max = -10000000;
231-
for (int m = 0; m < min_values[i].m; m++) {
231+
for (int m = 0; m < min_values[i].size(); m++) {
232232
min = std::min(min, min_values[i](m));
233233
max = std::max(max, max_values[i](m));
234234
}

0 commit comments

Comments
 (0)