[PATCH][doc] Fix typos in MINLOC, MAXLOC documentation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH][doc] Fix typos in MINLOC, MAXLOC documentation

Kyrill Tkachov-2
Hi all,

I think there's a typo in the documentation of the MINLOC and MAXLOC
intrinsics.
It implies that when the BACK argument is true it returns the first
occurrence of the min/max value,
but my understanding is that it should return the last occurrence.

This patch fixes the documentation.

Ok for trunk?
Thanks,
Kyrill

2019-03-22  Kyrylo Tkachov  <[hidden email]>

     * intrinsic.texi (MINLOC): Fix typo in BACK argument documentation.
     (MAXLOC): Likewise.


loc-fix.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH][doc] Fix typos in MINLOC, MAXLOC documentation

Thomas Koenig-6
Hi Kyrill,

> I think there's a typo in the documentation of the MINLOC and MAXLOC
> intrinsics.
> It implies that when the BACK argument is true it returns the first
> occurrence of the min/max value,
> but my understanding is that it should return the last occurrence.
>
> This patch fixes the documentation.
>
> Ok for trunk?

OK.

Thanks for the patch!

Regards

        Thomas