This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC gfortran doc : correction to documentation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]