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

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

[Octave-bug-tracker] [bug #60859] sparse matrix problem with float


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #60859] sparse matrix problem with float
Date: Wed, 30 Jun 2021 05:12:40 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

                 Summary: sparse matrix problem with float
                 Project: GNU Octave
            Submitted by: dasergatskov
            Submitted on: Wed 30 Jun 2021 09:12:39 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

As per comment 16 in https://savannah.gnu.org/bugs/?60818


octave:1> a=sparse(1)
a = Compressed Column Sparse (rows = 1, cols = 1, nnz = 1 [100%])

  (1, 1) -> 1
octave:octave:1> a=sparse(1)
a = Compressed Column Sparse (rows = 1, cols = 1, nnz = 1 [100%])

  (1, 1) -> 1
octave:2> a(1) = single(20)
error: operator =: no conversion for assignment of 'float scalar' to indexed
'sparse matrix'
2> a(1) = single(20)
error: operator =: no conversion for assignment of 'float scalar' to indexed
'sparse matrix'


This is both with 6.2.93 and with current dev tip.

Dmitri.
-- 





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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