Skip to content

Commit

Permalink
...and fix a bug I added to transpose
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Jun 21, 2010
1 parent 9e91f42 commit 1cc2dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pmc/nummatrix2d.pmc
Expand Up @@ -697,9 +697,9 @@ Transposes the matrix.
SWAP_XY(attrs);

if (transposed)
FLAG_SET(attrs->flags, FLAG_TRANSPOSED);
else
FLAG_CLEAR(attrs->flags, FLAG_TRANSPOSED);
else
FLAG_SET(attrs->flags, FLAG_TRANSPOSED);
transposed = !transposed;
RETURN(INTVAL transposed);
}
Expand Down

0 comments on commit 1cc2dd9

Please sign in to comment.