octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56037] qp exits with an indexing error for a


From: Rik
Subject: [Octave-bug-tracker] [bug #56037] qp exits with an indexing error for a specific input with OpenBLAS
Date: Wed, 3 Apr 2019 15:02:48 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #14, bug #56037 (project octave):

That's probably why it just got coded as a for loop then.  The only
optimization I see would be to use xelem instead of () for indexing the
columnvector


if (mRrH == eigenvalH(i))
=>
if (mRrH == eigenvalH.xelem (i))


Since the range of i is already known to be within the bounds of the
columnvector there isn't a requirement to check for that each time a value is
extracted.

I can't test the patch because the code doesn't error on my system.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56037>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]