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

model13.cpp (revision 752)
7 7
#include <admodel.h>
8 8

  
9 9
void initial_params::restore(const ifstream& ofs)
10
{
11
  for (int i=0;i<num_initial_params;i++)
10 12
  {
11
    for (int i=0;i<num_initial_params;i++)
12
    {
13
		 (varsptr[i])->restore_value(ofs);
14
    }
13
    //(varsptr->operator[](i))->restore_value(ofs);
14
    (*varsptr)[i]->restore_value(ofs);
15 15
  }
16
}
16 17

  
17 18
void param_init_number::restore_value(const ifstream& ofs)
18 19
  {

Also available in: Unified diff