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

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

  
9 9
 const double simbdsmax=1.e+90;
10
 ofstream ofss("variance");
10
 //ofstream ofss("variance");
11 11

  
12 12
 double ssmin(double x,double y)
13 13
 {
......
26 26
    for (int i=0;i<num_initial_params;i++)
27 27
    {
28 28
      //if ((varsptr[i])->phase_start <= current_phase)
29
      if (withinbound(0,(varsptr[i])->phase_start,current_phase))
30
	(varsptr[i])->set_simulation_bounds(symbds,ii);
29
      if (withinbound(0,(varsptr->operator[](i))->phase_start,current_phase))
30
	(varsptr->operator[](i))->set_simulation_bounds(symbds,ii);
31 31
    }
32 32
  }
33 33

  

Also available in: Unified diff