Revision 1259 trunk/src/nh99/mod_hess.cpp

mod_hess.cpp (revision 1259)
531 531
  //double f;
532 532
  dmatrix hess(1,nvar,1,nvar);
533 533
  uistream ifs("admodel.hes");
534
  int file_nvar;
535
  ifs  >> file_nvar;
536
  if (nvar !=file_nvar)
534
  int file_nvar = 0;
535
  ifs >> file_nvar;
536
  if (nvar != file_nvar)
537 537
  {
538 538
    cerr << "Number of active variables in file mod_hess.rpt is wrong"
539 539
	 << endl;

Also available in: Unified diff