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

mc_scale.cpp (revision 752)
24 24
  for (int i=0;i<num_initial_params;i++)
25 25
  {
26 26
    //if ((varsptr[i])->phase_start <= current_phase)
27
    if (withinbound(0,(varsptr[i])->phase_start,current_phase))
28
	(varsptr[i])->mc_scale(d,x,ii);
27
    if (withinbound(0,((*varsptr)[i])->phase_start,current_phase))
28
	((*varsptr)[i])->mc_scale(d,x,ii);
29 29
    }
30 30
    return ii-1;
31 31
  }

Also available in: Unified diff