iscell (num2str (1.0)) == true ?

Ben Abbott bpabbott at mac.com
Sun Mar 1 08:54:51 CST 2009


I've just encountered the behavior below.

	octave:8> iscell (num2str (1.0))
	ans =  1

It appears that the recent switch to strsplit() form split() produced  
his behavior.

The attached changeset has been pushed.

Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-num2str.patch
Type: application/octet-stream
Size: 1199 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090301/5b47530e/attachment.obj 
-------------- next part --------------



More information about the Octave-maintainers mailing list