changeset 11821:018dff0b30d2 release-3-0-x

avoid problematic subfunction call in an anonymous function
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 20 Aug 2008 11:01:24 -0400
parents 7212edd02db1
children 54fcba82201b
files scripts/ChangeLog scripts/pkg/pkg.m
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -4,6 +4,11 @@
 
 	* plot/shading.m: Clarify help string.
 	
+2008-08-20  Jaroslav Hajek <highegg@gmail.com>
+
+	* pkg/pkg.m (configure_make): Pass handle to is_architecture_dependent
+	directly.
+
 2008-08-20  David Bateman  <dbateman@free.fr>
 
 	* plot/__go_draw_axes__.m: Don't set pm3d implicit if the plot
--- 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);