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:06:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0

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

                 Summary: "plus" does not expand sparse matrices
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 26 Jul 2021 08:06:05 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Marc
        Originator Email: suaefar@googlemail.com
             Open/Closed: Open
                 Release: 6.1.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The following code produces the error:
error: operator +: nonconformant arguments (op1 is 10x10, op2 is 10x1)


a = speye(10);
b = sparse(10,1);
b(1) = 1;
a + b
plus(a,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]