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

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

[Octave-bug-tracker] [bug #58215] sparse multiplication with Inf


From: Guillaume
Subject: [Octave-bug-tracker] [bug #58215] sparse multiplication with Inf
Date: Mon, 20 Apr 2020 12:08:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

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

And, at least, Julia matches Octave.


julia> Inf * 0
NaN

julia> Inf * sparse([0])
1-element SparseVector{Float64,Int64} with 0 stored entries

julia> Inf * sparse([1;0])
2-element SparseVector{Float64,Int64} with 1 stored entry:
  [1]  =  Inf


Sorry about the noise, you can close this report. I will probably open a
similar one every few years...

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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