Revision 1258 trunk/src/df1b2-separable/mod_rhes.cpp

mod_rhes.cpp (revision 1258)
302 302
    }
303 303

  
304 304
    {
305
      int i,j;
306 305
      tmpstring = ad_comm::adprogram_name + ".luu";
307 306
      uistream uis1((char*)(tmpstring));
307
      int i = 0, j = 0;
308 308
      uis1 >> i >> j;
309 309
      cout << i << " " << j << endl;
310 310
    }
311 311

  
312 312
    int npts=2;
313
    int on,nopt;
313
    int on,nopt = 0;
314 314
    if ( (on=option_match(ad_comm::argc,ad_comm::argv,"-hpts",nopt))>-1)
315 315
    {
316 316
      if (nopt !=1)
......
381 381
    }
382 382
    // check for accuracy
383 383
    {
384
      double sd;
385 384
      uistream uis("hessian.bin");
386 385
      uis >> npts;
387 386
      dvector v=get_solution_vector(npts);
......
390 389
      dmatrix hess(1,nvar,1,nvar);
391 390
      ivector iind(-npts,npts);
392 391
      ivector jind(-npts,npts);
392
      double sd = 0;
393 393
      int i;
394 394
      for (i=1;i<=nvar;i++)
395 395
      {

Also available in: Unified diff