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

mod_mc1.cpp (revision 752)
15 15
  int ii=1;
16 16
  for (int i=0;i<num_initial_params;i++)
17 17
  {
18
    if (withinbound(0,(varsptr[i])->phase_start,current_phase))
18
    if (withinbound(0,((*varsptr)[i])->phase_start,current_phase))
19 19
    {
20
      (varsptr[i])->add_value((const dvector&)(x),ii);
20
      ((*varsptr)[i])->add_value((const dvector&)(x),ii);
21 21
    }
22 22
  }
23 23
}

Also available in: Unified diff