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

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

[Octave-bug-tracker] [bug #52904] "mesh" with input array of "logical" c


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52904] "mesh" with input array of "logical" causes error
Date: Tue, 16 Jan 2018 00:54:40 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #3, bug #52904 (project octave):

I suppose that is one solution, and it would mean (I believe) that the zdata
ends up stored as something other than logical, which as you pointed out is
not a valid type for zdata.  (There may be a similar issue with cdata, but
that can come next.)

On the other hand, it seems that something should be done at the C++ level
because the behavior/warning isn't very graceful when logical data is passed
into the surface function.  If anything, a better warning and not attempting
to continue with the plot via toolkit would seem the minimum.

I'm looking through the C++ code right now.  I'll look for another ten minutes
or so to see what lines of code are at play.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52904>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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