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

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

[Octave-bug-tracker] [bug #57033] Replace CXSPARSE with SPQR


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57033] Replace CXSPARSE with SPQR
Date: Wed, 6 Jan 2021 16:15:55 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #43, bug #57033 (project octave):

Replying to comment #41:

Correct, you can't just cast an array of int32 to be an array of int64.  So
yes, we have to make a copy if the sizes don't match and check that values are
in range if copying array values from a larger type to a smaller type.

The const_cast could also a be trouble if this function really can modify its
argument.  And if it doesn't, then why are we casting away const here?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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