Read header of Hermitian matrices

This commit is contained in:
Desire NUENTSA
2012-05-25 17:53:37 +02:00
parent 2fecd818c4
commit 5cbe6a5fbf
2 changed files with 3 additions and 3 deletions

View File

@@ -208,7 +208,7 @@ class MatrixMarketIterator
// Find if the matrix is SPD
size_t found = m_matname.find("SPD");
if( (found!=std::string::npos) && (m_sym == Symmetric) )
if( (found!=std::string::npos) && (m_sym != NonSymmetric) )
m_sym = SPD;
m_isvalid = true;