[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43759] isequal throws warninng comparing clas
From: |
sergey plotnikov |
Subject: |
[Octave-bug-tracker] [bug #43759] isequal throws warninng comparing classdef objects |
Date: |
Fri, 05 Dec 2014 16:16:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 |
URL:
<http://savannah.gnu.org/bugs/?43759>
Summary: isequal throws warninng comparing classdef objects
Project: GNU Octave
Submitted by: nul0m
Submitted on: Fri 05 Dec 2014 04:16:32 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
i believe the warning _Octave:classdef-to-struct_ should be temporarily turned
off before comparing classdef objects in isequal. at least in ML it is not
being shown. see my outputs from both Octave and Matlab.
*test.m*
classdef test
end
*matlab*
>> a = test;
>> isequal(a,a)
ans =
1
*octave*
>> a = test;
>> isequal(a,a)
warning: struct: converting a classdef object into a struct overrides the
access restrictions defined for properties. All properties are returned, in
cluding private and protected ones.
warning: called from
__isequal__ at line 81 column 7
isequal at line 31 column 10
warning: struct: converting a classdef object into a struct overrides the
access restrictions defined for properties. All properties are returned, in
cluding private and protected ones.
ans = 1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43759>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43759] isequal throws warninng comparing classdef objects,
sergey plotnikov <=