clean: clean printf
This commit is contained in:
@@ -72,7 +72,7 @@ int MC_pixel_render(const System *system, int i, int j, const Spline_data spline
|
||||
gsl_monte_function F;
|
||||
F.params = &integrand_params;
|
||||
F.dim = 2;
|
||||
printf("i=%d, j=%d, rgb=( ", i, j);
|
||||
//printf("i=%d, j=%d, rgb=( ", i, j);
|
||||
for (int c = 0; c < 3; c++) {
|
||||
switch (c) {
|
||||
case 0:
|
||||
@@ -87,10 +87,10 @@ int MC_pixel_render(const System *system, int i, int j, const Spline_data spline
|
||||
}
|
||||
gsl_monte_miser_init(miser_state);
|
||||
gsl_monte_miser_integrate(&F, xl, xu, 2, 100, r, miser_state, &color, &err);
|
||||
printf("%g +- %g ", color, err);
|
||||
//printf("%g +- %g ", color, err);
|
||||
rgb[c] = color;
|
||||
}
|
||||
printf(")\n");
|
||||
//printf(")\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user