summaryrefslogtreecommitdiffstats
path: root/scilab/modules/data_structures/tests/nonreg_tests/bug_568.dia.ref
blob: f387d6e38ba938e4f95fd0ffe9372f794bb43739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// <-- Non-regression test for bug 568 -->
//
// <-- Bugzilla URL -->
// http://bugzilla.scilab.org/show_bug.cgi?id=568
//
// <-- Short Description -->
//    when I have defined a variable like this :
//    -->aa=zeros(4,4,11);
//    I can't insert a part of this hypermatrix in a indexed
//    undefined variable bb.
//    -->bb(1,1,:)=aa(1,1,:) ;
//    This appears in all operating system and version 2.7, 2.7.2
//    and 2.8 alpha
//
//    fixed in CVS version
aa=zeros(4,4,11);
if execstr('bb(1,1,:)=aa(1,1,:)','errcatch') <> 15 then bugmes();quit;end