Commit 7428ea2c authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: @objArray: change numObjs to numObjArray to conform with other numClass methods

parent f877620b
......@@ -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.objArray.numObjs();
n = o.objArray.numObjArray();
end
\ No newline at end of file
function no = numObjs(oa)
%function no = numObjs(oa)
function n = numObjArray(o)
%function n = numObjArray(o)
% Copyright (C) 2013 Dynare Team
%
......@@ -18,5 +18,5 @@ function no = numObjs(oa)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
no = size(oa.objs, 2);
n = size(o.objs, 2);
end
\ No newline at end of file
function n = numPages(o)
% function n = numPages(o)
% Sections Class Constructor
%
% INPUTS
% o [page] pages object
......@@ -28,5 +27,5 @@ function n = numPages(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.objArray.numObjs();
n = o.objArray.numObjArray();
end
\ No newline at end of file
function ns = numSections(ss)
% function ns = numSections(ss)
function n = numSections(o)
% function n = numSections(o)
% Copyright (C) 2013 Dynare Team
%
......@@ -18,5 +18,5 @@ function ns = numSections(ss)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
ns = ss.objArray.numObjs();
n = o.objArray.numObjArray();
end
\ No newline at end of file
......@@ -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.objArray.numObjs();
n = o.objArray.numObjArray();
end
\ No newline at end of file
Supports Markdown
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