hi,
when I use the one data file in examples of the Target Mutilview, test.in
I find the Monte_Carlo can't exit normally, the program still run. why?

     when I change file probability.cxx

00074     for(int j = 0; j < index.size(); j++) {
00075       if(points[j].get_y() >= row_check_lower && points[j].get_y() < row_check_upper && points[j].get_x() >= col_check_lower &&
00076 points[j].get_x() < col_check_upper) {
00077         list.push_back(index[j]);
00078       }

to

00074     for(int j = 0; j < index.size(); j++) {
00075       if(points[j].get_y() /points[j].get_w() >= row_check_lower && points[j].get_y()/points[j].get_w()  < row_check_upper && points[j].get_x() /points[j].get_w() >= col_check_lower &&
00076 points[j].get_x()/points[j].get_w()  < col_check_upper) {
00077         list.push_back(index[j]);
00078       }
the program can run normally.



Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!