Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug committed Jan 8, 2024
1 parent 074e0a5 commit 1ca8f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/99_matrixexperiments/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static void fill_matrix(std::vector<T>& M, size_t numRows, size_t numCols)
if (fixedData) {
for (size_t r = 0; r < numRows; r++) {
for (size_t c = 0; c < numCols; c++) {
M[r * numCols + c] = r + c;
M[r * numCols + c] = static_cast<float>(r + c);
}
}
} else {
Expand Down

0 comments on commit 1ca8f73

Please sign in to comment.