# HG changeset patch # User jwe # Date 1134061051 0 # Node ID f7b4dfd541d13a2fc6cd8a4fafea03fb2784771a # Parent e9cde940b271c888bbf45f31f03c9b16cdc4deec [project @ 2005-12-08 16:57:31 by jwe] diff --git a/scripts/general/blkdiag.m b/scripts/general/blkdiag.m --- a/scripts/general/blkdiag.m +++ b/scripts/general/blkdiag.m @@ -37,7 +37,7 @@ endif ## Note: trailing singletons are automatically (correctly) ignored. - if (! all (cellfun (@ndims, varargin) == 2)) + if (! all (cellfun ("ndims", varargin) == 2)) error ("all of the arguments to blkdiag must be two-dimensional matrices"); endif