Commit aecd2a89 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: rename numElements as numel

parent 09931c07
function n = numElements(o)
% function n = numElements(o)
function n = numel(o)
% function n = numel(o)
% Copyright (C) 2013 Dynare Team
%
......
function n = numPages(o)
% function n = numPages(o)
function n = numel(o)
% function n = numel(o)
% Sections Class Constructor
%
% INPUTS
......
......@@ -31,7 +31,7 @@ function o = write(o, fid)
assert(fid ~= -1);
fprintf(fid, '\n%% Pages Object\n');
nps = numPages(o);
nps = numel(o);
for i=1:nps
o.objArray(i).write(fid);
end
......
function n = numElements(o)
% function n = numElements(o)
function n = numel(o)
% function n = numel(o)
% Copyright (C) 2013 Dynare Team
%
......@@ -18,5 +18,5 @@ function n = numElements(o)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
n = o.elements.numElements();
n = o.elements.numel();
end
\ No newline at end of file
......@@ -37,7 +37,7 @@ for i=1:o.cols
fprintf(fid, 'c');
end
fprintf(fid, '}\n');
ne = numElements(o);
ne = numel(o);
nvspace = numVspace(o);
nlcounter = 0;
for i=1:ne
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment