intsplin (and splin) function doesn't work anymore with complex input datas.
Reported by ROUX philippe
BUG DESCRIPTION:
----------------
intsplin (and splin) function doesn't work anymore with complex input datas.
!Scilab Version: :5.4.1.1364571296 !
! !
!Operating System: :Linux 3.2.0-52-generic !
! !
!Java version ::1.6.0_41 !
! !
!Java runtime information ::Java(TM) SE Runtime Environment (build 1.6.0_41-b02) !
! !
!Java vm information ::Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode) !
! !
!Vendor specification: :Sun Microsystems Inc. !
ERROR LOG:
----------
8<--8<--8<--8<--8<--8<--8<--8<--8<--
-->x=1:5,y=x;
x =
1. 2. 3. 4. 5.
-->intsplin(x,y)//=12
ans =
12.
-->intsplin(x,%i*y)//=12.i
!--error 202
splin : Type erroné de l'argument 2 : Une matrice réelle attendue.
at line 22 of function intsplin called by :
intsplin(x,%i*y)//=12.i
8<--8<--8<--8<--8<--8<--8<--8<--8<--
HOW TO REPRODUCE THE BUG:
-------------------------
x=1:5,y=x;
intsplin(x,y)//=12
intsplin(x,%i*y)//=12.i
OTHER INFORMATION:
------------------
oK with scilab 5.3.3
8<--8<--8<--8<--8<--8<--8<--8<--8<--
-->x=1:5,y=x;
x =
1. 2. 3. 4. 5.
-->intsplin(x,y)//=12
ans =
12.
-->intsplin(x,%i*y)//=12.i
ans =
12.i
8<--8<--8<--8<--8<--8<--8<--8<--8<--