[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45118] isequal doesn't call overloaded isequa
From: |
Oliver Heimlich |
Subject: |
[Octave-bug-tracker] [bug #45118] isequal doesn't call overloaded isequal on struct fields |
Date: |
Sun, 17 May 2015 18:16:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.7.0 |
Follow-up Comment #3, bug #45118 (project octave):
I have debugged into your described problem. The internal __isequal__ function
is called recursive on the fields of the struct until it finds the @class
objects to be compared, which use an overridden size method. Then it exits
early, because the overridden size is different from the builtin size.
The cause of the error is the same as in bug #44334 and the patch submitted
there should solve the issue.
Julien, please confirm whether the patch fixes the problem.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45118>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/