[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63069] lsqnonneg and sparse matrix compatibil
From: |
Liang Tang |
Subject: |
[Octave-bug-tracker] [bug #63069] lsqnonneg and sparse matrix compatibility |
Date: |
Fri, 16 Sep 2022 18:41:16 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?63069>
Summary: lsqnonneg and sparse matrix compatibility
Project: GNU Octave
Submitter: lt1234
Submitted: Fri 16 Sep 2022 10:41:15 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name: lt1234
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 16 Sep 2022 10:41:15 PM UTC By: Liang Tang <lt1234>
Error from using lsqnonneg with sparse matrix input(s).
>> [X] = lsqnonneg (sparse([1 2;2 1]), [1 0]');
error: matrix dimension with negative or zero size
error: called from
lsqnonneg at line 122 column 12
No error for full matrix inputs:
>> [X] = lsqnonneg (full([1 2;2 1]), [1 0]');
>>
Thanks.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63069>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63069] lsqnonneg and sparse matrix compatibility,
Liang Tang <=