Mercurial > octave-nkf
view test/nest/varg_nest.m @ 20633:ffc6cdcd02c5 stable
Fix segfault when complex double matrix calls ZGETRF (bug #45577).
* CMatrix.cc (finverse, determinant, rcond, fsolve): Calculate norm of matrix
and if it is NaN, skip calling ZGETRF in LAPACK and set info to non-zero value
to signal an error.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 10 Oct 2015 16:46:00 -0700 |
parents | be18c9e359bf |
children |
line wrap: on
line source
function x = varg_nest (varargin) x = abs (f (-5)) + g; function x = f (varargin) x = abs (varargin{1}); endfunction function x = g x = abs (varargin{1}); endfunction endfunction