Skip to content

Commit

Permalink
fix inverse.t and mtimes.t to fail more silently
Browse files Browse the repository at this point in the history
  • Loading branch information
Whiteknight committed Dec 8, 2009
1 parent 13a01d6 commit 83baaf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
19 changes: 4 additions & 15 deletions t/functions/inverse.t
@@ -1,17 +1,6 @@
if libisloaded('CLAPACK')
plan(2)

A1 = [ 1 2 ; 3 4];
B1 = [-2, 1; 1.5, -0.5];
C1 = inverse(A1);
is(round(10.*B1), round(10.*C1), "invert 2x2")

A1 = [1,5,2; 1,1,7; 0,-3,4];
B1 = [-25,26,-33; 4,-4,5; 3,-3,4];
C1 = inverse(A1);
is(B1, C1, "invert 3x3")
else
plan(0)
end
plan(1);
start_todo("No CBLAS or LAPACK support yet");
ok(0);
end_todo();


2 changes: 1 addition & 1 deletion t/functions/mtimes.t
@@ -1,4 +1,4 @@
plan(0);
plan(3);

start_todo("BLAS Problems");

Expand Down

0 comments on commit 83baaf0

Please sign in to comment.