From 5f5712279e086b04ef5758b02e417d1a0cb0ca7f Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 13 Aug 2001 15:33:58 +0000 Subject: [PATCH] - minor shortcut. --- ginac/matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginac/matrix.cpp b/ginac/matrix.cpp index 65dfd4dc..31c7cbbf 100644 --- a/ginac/matrix.cpp +++ b/ginac/matrix.cpp @@ -961,7 +961,7 @@ matrix matrix::solve(const matrix & vars, // Gather some statistical information about the augmented matrix: bool numeric_flag = true; exvector::const_iterator r = aug.m.begin(), rend = aug.m.end(); - while (r != rend) { + while (r!=rend && numeric_flag==true) { if (!r->info(info_flags::numeric)) numeric_flag = false; ++r; -- 2.44.0