projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
submerging the diagnostic noise again.
[feisty_meow.git]
/
nucleus
/
library
/
structures
/
matrix.h
diff --git
a/nucleus/library/structures/matrix.h
b/nucleus/library/structures/matrix.h
index 96ec3e0767917ee7b50a7987543522ba4a4b830f..ddd733472a94066da33448693798a12e3fcf1150 100644
(file)
--- a/
nucleus/library/structures/matrix.h
+++ b/
nucleus/library/structures/matrix.h
@@
-208,8
+208,8
@@
void matrix<contents>::redimension(int new_rows, int new_columns)
{
if ( (_rows == new_rows) && (_cols == new_columns) ) return;
matrix<contents> new_this(new_rows, new_columns);
{
if ( (_rows == new_rows) && (_cols == new_columns) ) return;
matrix<contents> new_this(new_rows, new_columns);
- for (int r = 0; r < minimum(new_rows, rows()); r++)
- for (int c = 0; c < minimum(new_columns, columns()); c++)
+ for (int r = 0; r <
basis::
minimum(new_rows, rows()); r++)
+ for (int c = 0; c <
basis::
minimum(new_columns, columns()); c++)
new_this[r][c] = (*this)[r][c];
*this = new_this;
}
new_this[r][c] = (*this)[r][c];
*this = new_this;
}