Revision 752 branches/threaded2/src/nh99/para3.cpp

para3.cpp (revision 752)
40 40
  gradient_structure::set_YES_DERIVATIVES();
41 41
  gbest.fill_seqadd(1.e+50,0.);
42 42

  
43
  adstring tmpstring="admodel.hes";
44
  if (ad_comm::wd_flag)
45
     tmpstring = ad_comm::adprogram_name + ".hes";
46
  uostream ofs((char*)tmpstring);
43
  std::thread::id this_thread_id = std::this_thread::get_id();
44
  std::ostringstream oss;
45
  oss << *ad_comm::adprogram_name << this_thread_id << ".hes";
46
  uostream ofs(oss.str().c_str());
47 47
    
48 48
  ofs << nvar;
49 49
  {

Also available in: Unified diff