fix Demo UMPFACK 86/18786/2
Adeline CARNIS [Tue, 13 Dec 2016 08:49:16 +0000 (09:49 +0100)]
Change-Id: Ibda2622e07469605633edffea6e0875e8bcab183

scilab/modules/umfpack/demos/sparse_matrices.sce

index 4dcac5d..e25ba81 100644 (file)
@@ -179,6 +179,8 @@ function demo_sparse_matrices()
     x2 = taucs_chsolve(Cp2,b2);
     t2_chol = toc();
     norm_res_chol_2 = norm(A2*x2-b2);
+    x2r = taucs_chsolve(Cp2,b2,A2);
+    norm_res_chol_2r = norm(A2*x2r-b2);
     K2_norm2 = cond2sp(A2, Cp2);
     taucs_chdel(Cp2);
     mode(-1)