Skip to content

Commit

Permalink
Fix backend::transpose() for block-valued matrices
Browse files Browse the repository at this point in the history
  • Loading branch information
ddemidov committed Feb 2, 2022
1 parent ab0817a commit 67ed91e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amgcl/backend/builtin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ std::shared_ptr< crs<V,C,P> > transpose(const crs<V, C, P> &A)
P head = T->ptr[A.col[j]]++;

T->col[head] = static_cast<C>(i);
T->val[head] = A.val[j];
T->val[head] = math::adjoint(A.val[j]);
}
}

Expand Down

0 comments on commit 67ed91e

Please sign in to comment.