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

time-shift
Houtan Bastani 2013-05-16 11:33:25 +02:00
parent f877620b93
commit 7428ea2cc6
5 changed files with 9 additions and 10 deletions

View 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

View File

@ -1,5 +1,5 @@
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

View File

@ -1,6 +1,5 @@
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

View File

@ -1,5 +1,5 @@
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

View 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