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

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

[Octave-bug-tracker] [bug #42825] Memory corruption in sparse matrix ope


From: Rik
Subject: [Octave-bug-tracker] [bug #42825] Memory corruption in sparse matrix operation
Date: Wed, 23 Jul 2014 23:54:37 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Follow-up Comment #2, bug #42825 (project octave):

My guess is that this has something to do with the auto-conversion of the
array from SparseMatrix to SparseComplexMatrix when there are outstanding free
values allocated by spalloc.

The code works if there are no such values: spalloc called with nnz < 3 for
third argument.  It also works if the first assignment is first made to  a
complex value, and then to a real value.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42825>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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