aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/spbench
diff options
context:
space:
mode:
authorGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-07-19 18:15:23 +0200
committerGravatar Desire NUENTSA <desire.nuentsa_wakam@inria.fr>2012-07-19 18:15:23 +0200
commit925ace196c182759026d3eb3edc06565ab5f01ee (patch)
tree0095b8e8e36dfcdab19609b3564d045213cdd981 /bench/spbench
parent59642da88bf83709e918667680e4ed63af4c31e5 (diff)
correct bug in the complex version
Diffstat (limited to 'bench/spbench')
-rw-r--r--bench/spbench/test_sparseLU.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bench/spbench/test_sparseLU.cpp b/bench/spbench/test_sparseLU.cpp
index 31273add5..08b6c926e 100644
--- a/bench/spbench/test_sparseLU.cpp
+++ b/bench/spbench/test_sparseLU.cpp
@@ -14,6 +14,7 @@ using namespace Eigen;
int main(int argc, char **args)
{
typedef complex<double> scalar;
+// typedef double scalar;
SparseMatrix<scalar, ColMajor> A;
typedef SparseMatrix<scalar, ColMajor>::Index Index;
typedef Matrix<scalar, Dynamic, Dynamic> DenseMatrix;
@@ -34,7 +35,7 @@ int main(int argc, char **args)
bool iscomplex=false, isvector=false;
int sym;
getMarketHeader(args[1], sym, iscomplex, isvector);
- if (iscomplex) { cout<< " Not for complex matrices \n"; return -1; }
+// if (iscomplex) { cout<< " Not for complex matrices \n"; return -1; }
if (isvector) { cout << "The provided file is not a matrix file\n"; return -1;}
if (sym != 0) { // symmetric matrices, only the lower part is stored
SparseMatrix<scalar, ColMajor> temp;