fix qpms_tmatrix_copy
Former-commit-id: 42d6e8d194b926da4f2fe766818b72ee6c3b7d70
This commit is contained in:
parent
8b8d002d42
commit
3b6fb71f2e
|
@ -57,7 +57,7 @@ qpms_tmatrix_t *qpms_tmatrix_copy(const qpms_tmatrix_t *T) {
|
|||
qpms_tmatrix_t *t = qpms_tmatrix_init(T->spec);
|
||||
size_t n = T->spec->n;
|
||||
for(size_t i = 0; i < n*n; ++i)
|
||||
t->m = T->m;
|
||||
t->m[i] = T->m[i];
|
||||
return t;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue