Revision 899

trunk/src/nh99/randeff.cpp (revision 899)
145 145
    if (iprint>0)
146 146
    {
147 147
      if (!itn)
148
      {
148 149
        if (ad_printf) (*ad_printf)("\nInitial statistics: ");
150
      }
149 151
      else
152
      {
150 153
        if (ad_printf) (*ad_printf)("\nIntermediate statistics: ");
154
      }
151 155

  
152 156
      if (ad_printf) (*ad_printf)("%d variables; iteration %ld; function evaluation %ld\n",
153 157
        nvar, itn, ifn);
trunk/src/nh99/lmnewton.cpp (revision 899)
138 138
    if (iprint>0)
139 139
    {
140 140
      if (!itn)
141
      {
141 142
        if (ad_printf) (*ad_printf)("\nInitial statistics: ");
143
      }
142 144
      else
145
      {
143 146
        if (ad_printf) (*ad_printf)("\nIntermediate statistics: ");
147
      }
144 148

  
145 149
      if (ad_printf) (*ad_printf)("%d variables; iteration %ld; function evaluation %ld\n",
146 150
        nvar, itn, ifn);
......
284 288
    if (iprint>0)
285 289
    {
286 290
      if (!itn)
291
      {
287 292
        if (ad_printf) (*ad_printf)("\nInitial statistics: ");
293
      }
288 294
      else
295
      {
289 296
        if (ad_printf) (*ad_printf)("\nIntermediate statistics: ");
297
      }
290 298

  
291 299
      if (ad_printf) (*ad_printf)("%d variables; iteration %ld; function evaluation %ld\n",
292 300
        nvar, itn, ifn);
......
298 306
      }
299 307
      else
300 308
      {
301

  
302 309
        if (ad_printf) (*ad_printf)("Function value %12.4le; maximum gradient component mag %12.4le\n",
303 310
          fbest, max(gbest));
304 311
      }

Also available in: Unified diff