add input type check

remove-priordens
Houtan Bastani 2015-10-21 12:22:23 +02:00
parent de6e1faae8
commit b94839f83b
1 changed files with 2 additions and 0 deletions

View File

@ -54,6 +54,8 @@ function make_report_irfs(M, oo, ticks_every, showOutput)
if nargin < 3
ticks_every = 5;
else
assert(isint(ticks_every));
end
if nargin < 4
showOutput = true;