Cosmetic changes.

time-shift
Stéphane Adjemian (Charybdis) 2013-10-30 09:32:51 +01:00
parent 9df1b8548e
commit 63f8a731d9
1 changed files with 4 additions and 5 deletions

View File

@ -1,6 +1,6 @@
function lastIndex = end(o, k, n)
% function lastIndex = end(o, k, n)
% End keyword
% Overloads end keyword.
%
% INPUTS
% o [dates] dates object
@ -30,6 +30,5 @@ function lastIndex = end(o, k, n)
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
assert(k==1 && n==1, '@dates/end: dates only has one dimension');
lastIndex = o.ndat;
end
assert(k==1 && n==1, 'dates::end: dates only has one dimension');
lastIndex = o.ndat;