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

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

[Octave-bug-tracker] [bug #47424] Cannot run "test function" for builtin


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #47424] Cannot run "test function" for builtin functions
Date: Fri, 18 Mar 2016 11:21:24 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.7.0

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

Very small note, instead of


exist (__name) == 5


which searches everything and may or may not return 5, we can limit the search
to builtin functions right from the start:


exist (__name, "builtin")


which is also more readable.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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