clean: clean printf

This commit is contained in:
2025-12-07 13:15:05 -05:00
parent 1f7eb8cb36
commit 7eca677774

View File

@@ -72,7 +72,7 @@ int MC_pixel_render(const System *system, int i, int j, const Spline_data spline
gsl_monte_function F; gsl_monte_function F;
F.params = &integrand_params; F.params = &integrand_params;
F.dim = 2; 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++) { for (int c = 0; c < 3; c++) {
switch (c) { switch (c) {
case 0: 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_init(miser_state);
gsl_monte_miser_integrate(&F, xl, xu, 2, 100, r, miser_state, &color, &err); 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; rgb[c] = color;
} }
printf(")\n"); //printf(")\n");
return 0; return 0;
} }