octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46683] test svds fails


From: Rik
Subject: [Octave-bug-tracker] [bug #46683] test svds fails
Date: Tue, 15 Dec 2015 20:20:41 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

Follow-up Comment #9, bug #46683 (project octave):

@Marco: I like suggestion #1 to use flipud(-s).

For point #2, normest used to use randn but switched to rand in 2010. 
Apparently, nobody got around to updating the svds tests.

For point #3, Octave already does one check at configure time on the ARPACK
library.  See the file m4/acinclude.m4 and the macro
OCTAVE_CHECK_LIB_ARPACK_OK.  Other tests could be added here, although we
prefer to check behavior rather than version numbers.


dnl
dnl Check whether ARPACK works (does not crash).
dnl
dnl Using a pure Fortran program doesn't seem to crash when linked
dnl with the buggy ARPACK library but the C++ program does.  Maybe it
dnl is the memory allocation that exposes the bug and using statically
dnl allocated arrays in Fortran does not?
dnl
dnl FIXME: it would be nice to avoid the duplication of F77 macros
dnl and typedefs here and in the f77-fcn.h header file.
dnl
AC_DEFUN([OCTAVE_CHECK_LIB_ARPACK_OK], [




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46683>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]