reporting: @objArray: change numObjs to numObjArray to conform with other numClass methods
parent
f877620b93
commit
7428ea2cc6
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue