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

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

[Octave-bug-tracker] [bug #60968] "plus" does not expand sparse matrices


From: anonymous
Subject: [Octave-bug-tracker] [bug #60968] "plus" does not expand sparse matrices
Date: Mon, 26 Jul 2021 04:21:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

Follow-up Comment #1, bug #60968 (project octave):

Sorry, the problem is not specific to sparse matices *very puzzled*

The following code produced the same error, which, I really think, it should
not.

a = eye(10);
b = zeros(10,1);
b(1) = 1;
a + b


Then again... the following works:

a = eye(10);
b = zeros(10,1);
b(1) = 1;
(a + 0) + b




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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