Changed: Removed bool argument to SparseMatrix::solve (unused).

This commit is contained in:
Knut Morten Okstad
2021-10-03 18:03:09 +02:00
committed by Arne Morten Kvarving
parent 4230fe7495
commit 9ffa4c49c8

View File

@@ -340,7 +340,7 @@ bool AlgEqSystem::staticCondensation (Matrix& Ared, Vector& bred,
<<"] --> ["<< neq2 <<"x"<< neq2 <<"]"<< std::endl;
// Calculate [A11]^-1*{R1} => R1
if (!Asub[0].solve(R1,true))
if (!Asub[0].solve(R1))
return false;
FILE* fd = recmatFile ? fopen(recmatFile,"wb") : nullptr;
@@ -378,7 +378,7 @@ bool AlgEqSystem::staticCondensation (Matrix& Ared, Vector& bred,
Asub[3].getColumn(ieq2,R2);
// Calculate [A11]^-1*{R1} => R1, reusing the factorization of [A11]
if (!Asub[0].solve(R1,false))
if (!Asub[0].solve(R1))
return false;
// Calculate [A21]*([A11]^-1*{R1}) => Rtmp