From 9863b29d8e2c646c43aad5f128f82f5134de13cc Mon Sep 17 00:00:00 2001 From: Grigoryants Sergey Date: Mon, 12 Jun 2017 10:45:26 +0400 Subject: [PATCH] Fixed grammar in gaus_eqn_gen --- alg/prog/gaus_eqn_gen.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/alg/prog/gaus_eqn_gen.cpp b/alg/prog/gaus_eqn_gen.cpp index 1de1c75..2f2edff 100644 --- a/alg/prog/gaus_eqn_gen.cpp +++ b/alg/prog/gaus_eqn_gen.cpp @@ -21,15 +21,15 @@ int main () { if (!itype) itype = rand()%3 +1 ; if (itype==3) itype = (rand()%2) ? itype : 2 ; - if (itype == 3) { // no solusions + if (itype == 3) { // no solutions do { dep_mask = myrand (dd1, dd2) ; } while (wt(dep_mask, n)mm || !(dep_mask%2) ) ; } - else if (itype == 1) { // one solusion + else if (itype == 1) { // one solution dep_mask = ((1<=mm || dep_mask%2) ;