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

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

[Octave-patch-tracker] [patch #9014] Add "camlight" function


From: Markus Mützel
Subject: [Octave-patch-tracker] [patch #9014] Add "camlight" function
Date: Fri, 3 Jun 2016 08:13:10 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #7, patch #9014 (project octave):

I was a bit late in realizing that "ishghandle" silently ignores the second
input argument in Octave. I am going to file a bug report about this. (Fixing
this should not be too hard.)

Until this is fixed, you could additionally check for 

strcmpi (get (varargin{1}, "type"), "light")


Instead of the loop to find a double that is not a valid handle, you could
maybe use a negative double in the tests for errors. I believe handles always
have positive values.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9014>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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