MA2
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ MatTyp getEntryAt(const Matrix ma, unsigned int xPos, unsigned int yPos) {
|
||||
\*--------------------------------------------------------------------*/
|
||||
Bool setEntryAt(Matrix ma, unsigned int xPos, unsigned int yPos, MatTyp value) {
|
||||
if (xPos >= ma.spalten || yPos >= ma.zeilen) return FALSE;
|
||||
ma.mElement[yPos * ma.spalten + xPos] = value;
|
||||
ma.mElement[yPos * ma.spalten + xPos] = value;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user