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

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

[Octave-bug-tracker] [bug #63370] Provide configuration/runtime tests fo


From: Rik
Subject: [Octave-bug-tracker] [bug #63370] Provide configuration/runtime tests for gejsv in svd_driver()
Date: Tue, 29 Nov 2022 10:38:58 -0500 (EST)

Follow-up Comment #11, bug #63370 (project octave):

Using grep, gejsv is found in 

liboctave/numeric/lo-lapack-proto.h
liboctave/numeric/svd.h
liboctave/numeric/svd.cc
libinterp/corefcn/svd.cc

If you want to completely remove the functionality you will need to change all
4 files.  If you only want to get rid of linking to the GEJSV symbols then you
may be able to comment out just the function prototypes and usage in
liboctave.  You might want to put an assert() statement in those code paths in
case a user accidentally does set the driver to "gejsv".  Alternatively, edit
this function in libinterp/corefcn/svd.cc and use error() if someone tries to
switch the SVD driver to an unsupported value.


template <typename T>
static typename math::svd<T>::Driver
svd_driver (void)
{
  if (Vsvd_driver == "gejsv")
    return math::svd<T>::Driver::GEJSV;




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63370>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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