Fix matrix size overflow issue when cast from int to size_t implicitly.
Attach a file by drag & drop or click to upload