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

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

[Octave-bug-tracker] [bug #41166] scatter with mix of int and double - c


From: Rik
Subject: [Octave-bug-tracker] [bug #41166] scatter with mix of int and double - casts double to integer class
Date: Fri, 14 Dec 2018 02:00:33 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063

Update of bug #41166 (project octave):

                  Status:               Confirmed => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

This was easy to fix.  As jwe suggested, the problem in __scatter__ was that
the vertices matrix was formed with 


"vertices", [x(i), y(i), z(i,:)]


I changed the input validation to cast mixtures of floating point and integer
data to floating point only.  See
https://hg.savannah.gnu.org/hgweb/octave/rev/59bc720d1bf9.

Marking as fixed and closing report.  


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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