Mercurial > forge
changeset 2695:47975df4d029 octave-forge
Error fixed.
author | sis-sou |
---|---|
date | Mon, 16 Oct 2006 09:42:04 +0000 |
parents | b3c91864bf61 |
children | b105e1f2c8bf |
files | main/linear-algebra/inst/bicg.m |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/main/linear-algebra/inst/bicg.m Mon Oct 16 07:51:15 2006 +0000 +++ b/main/linear-algebra/inst/bicg.m Mon Oct 16 09:42:04 2006 +0000 @@ -49,6 +49,9 @@ if(!isscalar(tol)) error('tol must be a scalar'); endif + if(!isscalar(maxit)) + error('maxit must be a scalar'); + endif if(rows(M) != rows(A) && columns(M) != columns(A)) error('M and A must have the same size'); endif