summaryrefslogtreecommitdiff
path: root/macros/cummax.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/cummax.sci')
-rw-r--r--macros/cummax.sci1
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/cummax.sci b/macros/cummax.sci
index 465b515..76a5096 100644
--- a/macros/cummax.sci
+++ b/macros/cummax.sci
@@ -44,6 +44,7 @@ function [M , iM] = cummax(varargin)
// M = cummax(v)
//
// Expected output: [8 9 9 10 10 10 10 10 10 10]
+
[numOutArgs,numInArgs] = argn(0);
// ** Checking number of arguments