Compare commits
2 Commits
a1c582fcff
...
782bcdc350
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
782bcdc350 | ||
|
|
bf27920a61 |
2
matrix.c
2
matrix.c
@ -44,7 +44,7 @@ void setMatrixAt(MatrixType value, Matrix matrix, unsigned int rowIdx, unsigned
|
||||
|
||||
MatrixType getMatrixAt(const Matrix matrix, unsigned int rowIdx, unsigned int colIdx)
|
||||
{
|
||||
|
||||
return matrix.data[(rowIdx * matrix.cols) + colIdx];
|
||||
}
|
||||
|
||||
Matrix add(const Matrix matrix1, const Matrix matrix2)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user