fix qpms_tmatrix_copy

Former-commit-id: 42d6e8d194b926da4f2fe766818b72ee6c3b7d70
This commit is contained in:
Marek Nečada 2020-01-16 10:11:00 +02:00
parent 8b8d002d42
commit 3b6fb71f2e
1 changed files with 1 additions and 1 deletions

View File

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