Revision 1259 trunk/src/nh99/hybmcmc.cpp

hybmcmc.cpp (revision 1259)
224 224
    double _hybeps=-1.0;
225 225
    int old_Hybrid_bounded_flag=-1;
226 226

  
227
    int on,nopt;
227
    int on,nopt = 0;
228 228
    if ( (on=option_match(ad_comm::argc,ad_comm::argv,"-hyeps",nopt))>-1)
229 229
    {
230 230
      if (!nopt)
......
275 275
    int old_nvar;
276 276
    if (!diag_option)
277 277
    {
278
      int on,nopt;
278
      int on,nopt = 0;
279 279
      int rescale_bounded_flag=0;
280 280
      double rescale_bounded_power=0.5;
281 281
      if ( (on=option_match(ad_comm::argc,ad_comm::argv,"-mcrb",nopt))>-1)
......
314 314
        }
315 315
        else
316 316
        {
317
          int tmp_nvar;
317
          int tmp_nvar = 0;
318 318
          adstring tmpstring = ad_comm::adprogram_name + ".bgs";
319 319
          uistream uis((char*)(tmpstring));
320 320
          if (!uis)
......
390 390
          " for mcrestart" <<   endl;
391 391
        ad_exit(1);
392 392
      } else {
393
        int nv1;
393
        int nv1 = 0;
394 394
        uis >> nv1;
395 395
        if (nv1 !=nvar) {
396 396
          cerr << "wrong number of independent variables in" <<

Also available in: Unified diff