From 1cc2dd9ac82f5f2f57cb91ac3632d4d0b3e2bc48 Mon Sep 17 00:00:00 2001 From: Whiteknight Date: Mon, 21 Jun 2010 09:52:03 -0400 Subject: [PATCH] ...and fix a bug I added to transpose --- src/pmc/nummatrix2d.pmc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pmc/nummatrix2d.pmc b/src/pmc/nummatrix2d.pmc index 2563179..4ae4160 100644 --- a/src/pmc/nummatrix2d.pmc +++ b/src/pmc/nummatrix2d.pmc @@ -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); }