blob: 688d1bce09d432477179478ce09b8b3ab551b4c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// <-- Non-regression test for bug 1725 -->
//
// <-- Bugzilla URL -->
// http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=1725
//
// <-- Short Description -->
// the function mtlb_axis returns an index error when called with an
// argument of [ 1 500 -22.3 1.4] or any other argument.
//
// This was traced to varargout(1) not being set to a.data_bounds within
// the code segment
// if rhs>0 then
//
// statements
//
// else// v = axis
// else
// varargout(1)=a.data_bounds;
// end
// endfunction
//
// Changing this to
// if rhs>0 then
//
// statements
// varargout(1)=a.data_bounds;
// ...
// Copyright INRIA
// Scilab Project - Farid Belahcene
// Copyright INRIA 2005
// Date : 09 janvier 2006
a = mtlb_axis([ 1 500 -22.3 1.4])
test1 = ( a == [1 500 -22.3 1.4] )
if ( test1 ) then
affich_result(%T,1725);
else
affich_result(%F,1725);
end
|