[Top][All Lists]

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

[Octave-bug-tracker] [bug #32296] matlabbatch: equivalent subscript assi

From: Volkmar Glauche
Subject: [Octave-bug-tracker] [bug #32296] matlabbatch: equivalent subscript assignments produce unequal results
Date: Mon, 20 Jan 2014 09:28:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0

Follow-up Comment #4, bug #32296 (project octave):

I've compiled an excerpt from my original project containing the relevant .m
files only. See matlabbatch_extract.tgz attached. Although there are multiple
classes (cfg_repeat, cfg_exbranch, cfg_branch) derived from cfg_item, all
share the same subsasgn/subsref logic.

Things seem to go wrong whenever one of the class subsasgn/subsref methods
call cfg_callbuiltin to dispatch subscript reference/assignment calls.

The example code from the original submission still produces this problem in
octave 3.6.4.

Steps to test:

1. Unpack matlabbatch_extract.tgz into new folder
2. add this folder to octave's path
3. run the code lines from the original bug submission

cr and cr1 should have the same contents, especially the cfg_exbranch objects
in cr.values{1} and cr1.values{1} should have the same contents. cr is the
reference object, information is lost when assigning cr1.values{1}.tag.

I did not yet try octave 3.8 or a current developer release, but would be
happy to do so if there might be a chance that the problem has been resolved.

(file #30316)

Additional Item Attachment:

File name: matlabbatch_extract.tgz        Size:13 KB


Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

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