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

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

[Octave-bug-tracker] [bug #47705] function "localfunctions" not implemen


From: Rik
Subject: [Octave-bug-tracker] [bug #47705] function "localfunctions" not implemented
Date: Sat, 21 May 2016 15:10:49 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #15, bug #47705 (project octave):

Using gdb, I stepped through C++ code and the problem is that the conditions
necessary to assign to retval never become true.


  size_t i = 0;
  for (std::list<std::string>::const_iterator p = names.begin ();
       p != names.end (); p++)
    {
      std::map<std::string, octave_value>::const_iterator q = h.find (*p);
      if (q != h.end () &&
          ! q->second.user_function_value ()->is_nested_function ())
        retval(i++) = octave_value (new octave_fcn_handle (q->second, *p));
    }


The issue is that even for subfunction 'c', is_nested_function() is returning
true.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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