# HG changeset patch # User John W. Eaton # Date 1235757391 18000 # Node ID 0c1a9c178fdd9e9ac8313c337b045c581545c300 # Parent 47fb5909519131a8fb6e39db304ddc451711ae57 replace last call to split with strsplit diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2009-02-27 John W. Eaton + * general/num2str.m: Call strsplit instead of split. + * strings/strsplit.m: Style fixes. 2009-02-27 Jaroslav Hajek diff --git a/scripts/general/num2str.m b/scripts/general/num2str.m --- a/scripts/general/num2str.m +++ b/scripts/general/num2str.m @@ -176,7 +176,7 @@ nd = ndims (x); tmp = sprintf (fmt, permute (x, [2, 1, 3:nd])); tmp(length (tmp)) = ""; - retval = strtrim (split (tmp, "\n")); + retval = strtrim (strsplit (tmp, "\n")); endif endfunction