mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-05-10 11:14:07 +00:00
const in get_column
This commit is contained in:
parent
1db1e2a984
commit
5a3bcc7ef1
@ -996,7 +996,7 @@ EX void set_column(transmatrix& T, int i, const hyperpoint& H) {
|
||||
T[j][i] = H[j];
|
||||
}
|
||||
|
||||
EX hyperpoint get_column(transmatrix& T, int i) {
|
||||
EX hyperpoint get_column(const transmatrix& T, int i) {
|
||||
hyperpoint h;
|
||||
for(int j=0; j<MXDIM; j++)
|
||||
h[j] = T[j][i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user