This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: GCC gfortran doc : correction to documentation
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: fernando dot capalbo at lmd dot polytechnique dot fr
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "fortran at gcc dot gnu dot org List" <fortran at gcc dot gnu dot org>
- Date: Wed, 20 Jun 2018 14:05:32 +0100
- Subject: Re: GCC gfortran doc : correction to documentation
- References: <5B2A3604.2020604@lmd.polytechnique.fr>
CCing the gfortran list.
On Wed, 20 Jun 2018 at 12:35, Fernando wrote:
>
> Hello,
>
> I have been consulting the documentation for MINLOC:
>
> https://gcc.gnu.org/onlinedocs/gfortran/MINLOC.html
>
> Thank you for the work you do.
>
> I think that when the documentation reads
>
> "
> If more than one element in the array has the minimum value, the location returned is that of the first such element in array element order if
> the BACK is not present, or if it false; otherwise, the location returned is that of the first such element.
> "
>
> It should read
>
> "
> If more than one element in the array has the minimum value, the location returned is that of the first such element in array element order if
> the BACK is not present, or if it false; otherwise, the location returned is that of the "LAST" such element.
> "
>
> i.e., replace "first" with "last".
>
> Sincerely,
> Fernando