From: <aba...@us...> - 2012-07-03 15:39:32
|
Revision: 10725 http://octave.svn.sourceforge.net/octave/?rev=10725&view=rev Author: abarth93 Date: 2012-07-03 15:39:22 +0000 (Tue, 03 Jul 2012) Log Message: ----------- Modified Paths: -------------- trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncBaseArray.m Added Paths: ----------- trunk/octave-forge/extra/ncArray/inst/@BaseArray/numel.m Added: trunk/octave-forge/extra/ncArray/inst/@BaseArray/numel.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/numel.m (rev 0) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/numel.m 2012-07-03 15:39:22 UTC (rev 10725) @@ -0,0 +1,3 @@ +function n = numel(self) + +n = prod(self.sz); Modified: trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncBaseArray.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncBaseArray.m 2012-07-03 15:23:26 UTC (rev 10724) +++ trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncBaseArray.m 2012-07-03 15:39:22 UTC (rev 10725) @@ -44,7 +44,7 @@ prop = varargin; for i=1:2:length(prop) - if strcmp(prop{i},'tooBigToLoad ') + if strcmp(prop{i},'tooBigToLoad') self.tooBigToLoad = prop{i+1}; end end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |