From 7dc39b703706b56a4a46255dabfeeddf50e76581 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Fri, 3 Aug 2012 13:05:45 +0200 Subject: Add unit tests --- bench/spbench/test_sparseLU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bench/spbench') diff --git a/bench/spbench/test_sparseLU.cpp b/bench/spbench/test_sparseLU.cpp index ecf254b3d..59f8252d0 100644 --- a/bench/spbench/test_sparseLU.cpp +++ b/bench/spbench/test_sparseLU.cpp @@ -70,7 +70,7 @@ int main(int argc, char **args) cout << "Factorize Time " << timer.value() << std::endl; timer.reset(); timer.start(); - solver._solve(b, x); + x = solver.solve(b); timer.stop(); cout << "solve time " << timer.value() << std::endl; /* Check the accuracy */ -- cgit v1.2.3