|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #41531] isequaln fails comparing object to non-object |
| Date: | Wed, 12 Feb 2014 17:12:59 +0000 |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
Update of bug #41531 (project octave):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #3:
I made a few modifications. The Octave coding convention is to surround the
conditional of an if statement in parentheses as for C/C++. I also broke out
of the for loop immediately with break rather than continue; Once we know one
of the inputs is not an object it will be impossible for isequal to return
true. The changeset is here
(http://hg.savannah.gnu.org/hgweb/octave/rev/ff7e7928f160) on the stable
branch.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41531>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |