Breakpoint 1 at 0x403e64: file ../../gsl-1.12/monte/vegas.c, line 166. Starting program: C:\msys\1.0\home\gd\sw\src\gsl-1.12.no-optim\monte\.libs/test.no-opt.exe [New thread 3400.0xd2c] Breakpoint 1, gsl_monte_vegas_integrate (f=0x22feb0, xl=0x415020, xu=0x411000, dim=1, calls=333, r=0x3e3cd8, state=0x3e2470, result=0x22ce00, abserr=0x22ce28) at ../../gsl-1.12/monte/vegas.c:166 166 boxes = floor (pow (calls / 2.0, 1.0 / dim)); 1: boxes = 1 2: calls = 333 3: dim = 1 167 state->mode = GSL_VEGAS_MODE_IMPORTANCE; 3: dim = 1 2: calls = 333 1: boxes = 166 169 if (2 * boxes >= state->bins_max) 3: dim = 1 2: calls = 333 1: boxes = 166 :4: state->bins_max = 50 172 int box_per_bin = GSL_MAX (boxes / state->bins_max, 1); 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 166 5: box_per_bin = 2280776 174 bins = GSL_MIN(boxes / box_per_bin, state->bins_max); 5: box_per_bin = 3 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 166 175 boxes = box_per_bin * bins; 5: box_per_bin = 3 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 166 6: bins = 50 177 state->mode = GSL_VEGAS_MODE_STRATIFIED; 6: bins = 50 5: box_per_bin = 3 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 150 182 double tot_boxes = pow ((double) boxes, (double) dim); 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 150 7: tot_boxes = 3.9525251667299724e-323 183 state->calls_per_box = GSL_MAX (calls / tot_boxes, 2); 7: tot_boxes = 150 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 150 8: state->calls_per_box = 3131961357 184 calls = state->calls_per_box * tot_boxes; 8: state->calls_per_box = 2 7: tot_boxes = 150 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 150 188 state->jac = state->vol * pow ((double) bins, (double) dim) / calls; 8: state->calls_per_box = 2 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 300 1: boxes = 150 The program being debugged has been started already. Start it from the beginning? (y or n) Starting program: C:\msys\1.0\home\gd\sw\src\gsl-1.12.no-optim\monte\.libs/test.no-opt.exe [New thread 3304.0x7a4] Breakpoint 1, gsl_monte_vegas_integrate (f=0x22feb0, xl=0x415020, xu=0x411000, dim=1, calls=333, r=0x3e3cd8, state=0x3e2470, result=0x22ce00, abserr=0x22ce28) at ../../gsl-1.12/monte/vegas.c:166 166 boxes = floor (pow (calls / 2.0, 1.0 / dim)); 8: state->calls_per_box = 3131961357 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 1 167 state->mode = GSL_VEGAS_MODE_IMPORTANCE; 8: state->calls_per_box = 3131961357 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 166 169 if (2 * boxes >= state->bins_max) 8: state->calls_per_box = 3131961357 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 166 172 int box_per_bin = GSL_MAX (boxes / state->bins_max, 1); 8: state->calls_per_box = 3131961357 6: bins = 50 5: box_per_bin = 2280776 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 166 174 bins = GSL_MIN(boxes / box_per_bin, state->bins_max); 8: state->calls_per_box = 3131961357 6: bins = 50 5: box_per_bin = 3 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 166 175 boxes = box_per_bin * bins; 8: state->calls_per_box = 3131961357 6: bins = 50 5: box_per_bin = 3 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 166 177 state->mode = GSL_VEGAS_MODE_STRATIFIED; 8: state->calls_per_box = 3131961357 6: bins = 50 5: box_per_bin = 3 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 150 182 double tot_boxes = pow ((double) boxes, (double) dim); 8: state->calls_per_box = 3131961357 7: tot_boxes = 3.9525251667299724e-323 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 150 183 state->calls_per_box = GSL_MAX (calls / tot_boxes, 2); 8: state->calls_per_box = 3131961357 7: tot_boxes = 150 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 150 184 calls = state->calls_per_box * tot_boxes; 8: state->calls_per_box = 2 7: tot_boxes = 150 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 333 1: boxes = 150 188 state->jac = state->vol * pow ((double) bins, (double) dim) / calls; 8: state->calls_per_box = 2 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 300 1: boxes = 150 190 state->boxes = boxes; 8: state->calls_per_box = 2 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 300 1: boxes = 150 196 if (bins != state->bins) 8: state->calls_per_box = 2 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 300 1: boxes = 150 198 resize_grid (state, bins); 8: state->calls_per_box = 2 6: bins = 50 4: state->bins_max = 50 3: dim = 1 2: calls = 300 1: boxes = 150 resize_grid (s=0x3e2470, bins=50) at ../../gsl-1.12/monte/vegas.c:669 669 size_t dim = s->dim; 673 double pts_per_bin = (double) s->bins / (double) bins; 675 for (j = 0; j < dim; j++) 678 double xnew = 0; 679 double dw = 0; 680 int i = 1; 682 for (k = 1; k <= s->bins; k++) 684 dw += 1.0; 685 xold = xnew; quit The program is running. Exit anyway? (y or n)