Skip to content

Commit

Permalink
Minor bugfix: A = conjugate(A) did not work for some stupid reason ...
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-lehn committed Apr 15, 2014
1 parent 92a43aa commit c765eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flens/blas/level1/copy.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ copy(Transpose trans, const MA &A, MB &&B)
// when the left hand side is an empty matrix (such that it is no actual
// resizing but rather an initialization).
//
if (trans==NoTrans) {
if (trans==NoTrans || trans==Conj) {
if ((A.numRows()!=B.numRows()) || (A.numCols()!=B.numCols())) {
# ifndef FLENS_DEBUG_CLOSURES
ASSERT(B.numRows()==0 || B.numCols()==0);
Expand Down

0 comments on commit c765eeb

Please sign in to comment.