Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Jun 21, 2010
1 parent 425c3bf commit f786b6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pmc/nummatrix2d.pmc
Expand Up @@ -213,7 +213,7 @@ pmclass NumMatrix2D dynpmc auto_attrs provides matrix {
const INTVAL total_size = attrs->rows * attrs->cols;
if (key >= total_size) {
Parrot_ex_throw_from_c_args(INTERP, NULL, EXCEPTION_OUT_OF_BOUNDS,
"NumMatrix2D: Matrix dimensions must match in add.");
"NumMatrix2D: Matrix dimensions must match in add.");
}
return attrs->storage[key];
}
Expand Down Expand Up @@ -459,7 +459,7 @@ pmclass NumMatrix2D dynpmc auto_attrs provides matrix {
*/
else {
Parrot_ex_throw_from_c_args(INTERP, NULL, EXCEPTION_UNIMPLEMENTED,
"parrot-linear-algebra: Method multiply not implemented for "
PLATYPENAME ": Method multiply not implemented for "
"this combination of flags.");
}

Expand Down Expand Up @@ -689,9 +689,9 @@ Transposes the matrix.
SWAP_XY(attrs);

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

0 comments on commit f786b6b

Please sign in to comment.