From 7391bfde34f30e69e510cea90834b218e5c972c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B9=20Marcer?= Date: Wed, 25 Mar 2020 19:51:50 +0100 Subject: [PATCH] ex-6: language improvement in main.c --- ex-6/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ex-6/main.c b/ex-6/main.c index 6005f52..6c6cd8e 100644 --- a/ex-6/main.c +++ b/ex-6/main.c @@ -34,8 +34,8 @@ struct param { * wave. * * The intensity is given as a function of θ, - * the diffraction angle, all the other physical - * parameter are controlled by the structure `param`. + * the diffraction angle. All the other physical + * parameters are controlled by the structure `param`. * * See Fraunhöfer diffraction on "Hect - Optics" for * a derivation of the formula. @@ -80,7 +80,7 @@ gsl_histogram* gaussian_for(gsl_histogram *hist, double sigma) { gsl_histogram_set_ranges_uniform(res, 0, dx * n); /* The histogram will be such that - * the zero falls in the central bin. + * the maximum falls in the central bin. */ long int offset = res->n/2;