1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-10 03:04:06 +00:00

const in get_column

This commit is contained in:
Zeno Rogue 2025-04-25 14:27:43 +02:00
parent 1db1e2a984
commit 5a3bcc7ef1

View File

@ -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];