view test/bug-38236/u_vr.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 48b3d172042d
children
line wrap: on
line source

# u_vr.m

## define and exectute "__demo__" once
eval ("function __demo__ ();  df_vr;  v = vr * 2; endfunction");
__demo__;

## clear definition of "__demo__"
clear __demo__

## define and exectute "__demo__" once more
eval ("function __demo__ ();  df_vr;  v = vr * 2; endfunction");
__demo__;