From 3b06e6401a36d04ffca73d387c962d73d2a7b7b9 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Sat, 22 May 2010 18:55:45 +0000 Subject: [PATCH] Fixed small typo when debug mode is on --- cpp/Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/Matrix.cpp b/cpp/Matrix.cpp index 81e8c4a76..5ccb9f4eb 100644 --- a/cpp/Matrix.cpp +++ b/cpp/Matrix.cpp @@ -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