From: Richard Kreckel Date: Mon, 13 Aug 2001 15:33:58 +0000 (+0000) Subject: - minor shortcut. X-Git-Tag: release_0-9-3~15 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=commitdiff_plain;h=5f5712279e086b04ef5758b02e417d1a0cb0ca7f - minor shortcut. --- 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;