Behaviour change from 5.2 to 5.3.0-beta 4

José Luis Volta Grau jlvolta at fibertel.com.py
Sun Oct 10 02:38:56 CEST 2010


Hello:

I found Scilab has change the result of 'isnum' function for matrix of strings expresions.

Example of a 2x2 string matrix in 5.2.2:

-->a=['-4.5','';'','-5.6']
 a  =
 
!-4.5        !
!            !
!      -5.6  !
 
-->isnum(a)
 ans  =
 
  T F  
  F T    I think this is the correct answer, because a(1,2) and a(2,1) are not numbers !

The same matrix in 5.3.0-beta 4:

-->a=['-4.5','';'','-5.6']
 a  =
 
!-4.5        !
!            !
!      -5.6  !
 
-->isnum(a)
 ans  =
 
  T T  
  T T    I think this is wrong !

Is this a bug or will it be the new behaviour ?, I think there is no reason for this change.

J.L.V.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20101009/a783b415/attachment.htm>


More information about the dev mailing list