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

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

[Octave-bug-tracker] [bug #31165] error: inv: wrong type argument "class


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #31165] error: inv: wrong type argument "class"
Date: Fri, 01 Oct 2010 21:30:19 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100819 Iceweasel/3.5.11 (like Firefox/3.5.11)

Update of bug #31165 (project octave):

                Priority:              5 - Normal => 7 - High               
                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

This problem is happening because the function out_of_date_check in symtab.cc
is not properly handling classes that have parent classes with overloaded
functions.  In your case, you have defined @lti/inv.m and you are calling inv
with a tf object.  This works the first time because the initial lookup does
notice that lti is a parent class of tf and so finds @lti/inv.m.  On the
second call, when a check is made to see whether the function has changed, the
check for the parent class is omitted.  The fix is to perform the check, but
I'm not yet sure exactly the best way to do that.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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