Skip to content

Commit 2aa88eb

Browse files
authored
Merge pull request #1502 from jessdtate/akls_sym
addknownstolinearsystem symmetry check
2 parents 8b2f7a7 + 923972d commit 2aa88eb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Core/Algorithms/Math/AddKnownsToLinearSystem.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,6 @@ bool AddKnownsToLinearSystemAlgo::run(SparseRowMatrixHandle stiff,
6565

6666
SparseRowMatrixFromMap::Values additionalData;
6767

68-
// Making sure the stiff matrix (left hand side) is symmetric
69-
if (!isSymmetricMatrix(*stiff,bound_for_equality))
70-
{
71-
std::ostringstream ostr1;
72-
ostr1 << "matrix A is not symmetrical due to a difference of " << bound_for_equality << std::endl;
73-
THROW_ALGORITHM_INPUT_ERROR(ostr1.str());
74-
}
7568

7669
// Storing the number of columns in m and rows in n from the stiff matrix, m == n
7770
const unsigned int numCols = static_cast<unsigned int>(stiff->ncols());

0 commit comments

Comments
 (0)