In HYBRD use parenthesis to make sure minus occurs before mod.
authorilb@NIH.GOV <ilb@NIH.GOV@ba61647d-9d00-f842-95cd-605cb4296b96>
Fri, 1 Dec 2017 18:51:11 +0000 (18:51 +0000)
committerilb@NIH.GOV <ilb@NIH.GOV@ba61647d-9d00-f842-95cd-605cb4296b96>
Fri, 1 Dec 2017 18:51:11 +0000 (18:51 +0000)
git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/trunk@15288 ba61647d-9d00-f842-95cd-605cb4296b96

mipav/src/gov/nih/mipav/model/algorithms/DoublyConnectedSC.java

index 934ad45..15ecc7b 100644 (file)
@@ -2706,7 +2706,7 @@ double neweps;
                \r
                         if  (NPRINT > 0) {\r
                             IFLAG[0] = 0;\r
-                            if ((ITER-1%NPRINT) == 0) {\r
+                            if (((ITER-1)%NPRINT) == 0) {\r
                                 if (FCN == dscfun) {\r
                                     DSCFUN(N,X,FVEC,IFLAG);\r
                                 }\r