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

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

[Octave-bug-tracker] [bug #55727] Feature request: add GEJSV as an addit


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55727] Feature request: add GEJSV as an additional svd_drivers
Date: Mon, 8 Mar 2021 03:16:01 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36 Edg/89.0.774.45

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

@Philip: That sounds like a good approach to me.
For a start, it might be good enough for an initial hint to get the backtrace
from the build you currently have.

Checking the changes again, it looks like the default driver might have
changed:

--- a/libinterp/corefcn/svd.cc
+++ b/libinterp/corefcn/svd.cc
@@ -62,9 +62,12 @@
 static typename octave::math::svd<T>::Driver
 svd_driver (void)
 {
-  return (Vsvd_driver == "gesvd"
-          ? octave::math::svd<T>::Driver::GESVD
-          : octave::math::svd<T>::Driver::GESDD);
+  if (Vsvd_driver == "gejsv")
+      return octave::math::svd<T>::Driver::GEJSV;
+  else if (Vsvd_driver == "gesdd")
+      return octave::math::svd<T>::Driver::GESDD;
+  else
+      return octave::math::svd<T>::Driver::GESVD;  // default
 }
 


The new default matches the documentation though.

Also, the w64-64-default builder seems to complain about incompatible integer
assignments:
http://buildbot.octave.org:8010/#/builders/18/builds/824/steps/8/logs/stdio

Compilation also stopped. But there's no reference to the error in the log
file excerpt.
I'll try to setup a build setup with similar configuration and see if I can
reproduce the error.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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