public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Arnaud Charlet <charlet@adacore.com>
To: Simon Wright <simon@pushface.org>
Cc: gcc-patches@gcc.gnu.org, Ed Schonberg <schonberg@adacore.com>
Subject: Re: [Ada] Fix PR ada/78845
Date: Tue, 20 Dec 2016 12:14:00 -0000	[thread overview]
Message-ID: <20161220113409.GA2957@adacore.com> (raw)
In-Reply-To: <879A0A7D-106A-4320-A6F6-0433CEAC1CA7@pushface.org>

> The function Ada.Numerics.Generic_Real_Arrays.Inverse is required
> (ARM G.3.1(72)) to return a matrix with the bounds of the dimension indices
> swapped, i.e. result'Range(1) == input'Range(2) and vice versa. The
> present code gets result'Range(1) correct, but result'Range(2) always
> starts at 1.
> 
> Of course, many users would always use ranges starting at 1 and wouldn't see a
> problem.
> 
> 2016-12-17  Simon Wright  <simon@pushface.org>
> 
> 	PR ada/78845
> 	* a-ngrear.adb (Inverse): call Unit_Matrix with First_1 set to
> 	A'First(2)
> 	and vice versa.

Patch is OK, thanks.

  reply	other threads:[~2016-12-20 11:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-17 11:10 Simon Wright
2016-12-20 12:14 ` Arnaud Charlet [this message]
     [not found]   ` <B2185111-5A47-432A-B562-A65199236B25@pushface.org>
2016-12-21  8:52     ` Arnaud Charlet
     [not found]       ` <4D07E255-BDCD-47AC-A546-926E024E2425@pushface.org>
2016-12-21 15:03         ` Arnaud Charlet
2017-01-10 11:18           ` Simon Wright
2017-01-10 12:02             ` Arnaud Charlet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161220113409.GA2957@adacore.com \
    --to=charlet@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=schonberg@adacore.com \
    --cc=simon@pushface.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).