Fixed small typo when debug mode is on

release/4.3a0
Richard Roberts 2010-05-22 18:55:45 +00:00
parent 195fa64178
commit 3b06e6401a
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ Vector backSubstituteUpper(const Vector& b, const Matrix& U, bool unit) {
Vector backSubstituteLower(const Matrix& L, const Vector& b, bool unit) {
size_t n = L.size2();
#ifndef NDEBUG
size_t m = U.size1();
size_t m = L.size1();
if (m!=n)
throw invalid_argument("backSubstituteLower: L must be square");
#endif