Mercurial > octave
changeset 22060:9d2fc58e9eb6
Backed out changeset: d3c79eb1b483
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Thu, 07 Jul 2016 15:21:00 +0200 |
parents | b1256fb38777 |
children | 737b1d9d7ee3 |
files | test/bug-46330.tst test/module.mk |
diffstat | 2 files changed, 0 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/test/bug-46330.tst Sat Jun 18 04:08:18 2016 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -## bug #46330: segfault with matrices containing Inf & NaN - -%!warning -%! a = [-0.46E-01, 0.10681415316, 0.0, -0.17121680433; -%! -0.1675901504661613, -0.515, 1.0, 0.6420630320636088E-02; -%! 0.1543104215347786, -0.547945, -0.906, -0.1521689385990753E-02; -%! 0.0, 0.0, 1.0, 0.0]; -%! -%! b = [0.1602300107479095, 0.2111848453E-02; -%! 0.8196877780963616E-02, -0.3025E-01; -%! 0.9173594317692437E-01, -0.75283075; -%! 0.0, 0.0]; -%! -%! c = [1.0, 0.0, 0.0, 0.0; -%! 0.0, 0.0, 0.0, 1.0]; -%! -%! ## This statement caused an error in LAPACK and eventually caused -%! ## a segmentation fault. -%! ## Triggers "warning: matrix singular to machine precision" -%! assert (c / (i * Inf * eye (4) - a) * b, zeros (2, 2))