Mercurial > hg > octave-nkf
diff scripts/pkg/pkg.m @ 8043:30d15ab0ce01
avoid problematic subfunction call in an anonymous function
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 20 Aug 2008 11:01:24 -0400 |
parents | ca9bfe159144 |
children | 9ba45b125ee8 |
line wrap: on
line diff
--- a/scripts/pkg/pkg.m +++ b/scripts/pkg/pkg.m @@ -1302,7 +1302,7 @@ if (isempty (filenames)) idx = []; else - idx = cellfun (@(x) is_architecture_dependent (x), filenames); + idx = cellfun (@is_architecture_dependent, filenames); endif archdependent = filenames (idx); archindependent = filenames (!idx);