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

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

[Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32b


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #58795] ode15i and ode15s fail for Windows 32bit
Date: Thu, 10 Sep 2020 11:52:14 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36 Edg/85.0.564.44

Follow-up Comment #52, bug #58795 (project octave):

The buildbots are failing with the following error:

In file included from ../src/libinterp/dldfcn/__ode15__.cc:43:
../src/libinterp/parse-tree/parse.h:124:26: warning: explicitly defaulted copy
assignment operator is implicitly deleted [-Wdefaulted-function-deleted]
      parent_scope_info& operator = (const parent_scope_info&) = default;
                         ^
../src/libinterp/parse-tree/parse.h:148:20: note: copy assignment operator of
'parent_scope_info' is implicitly deleted because field 'm_parser' is of
reference type 'octave::base_parser &'
      base_parser& m_parser;
                   ^
../src/libinterp/dldfcn/__ode15__.cc:484:26: error: cannot initialize a
variable of type 'octave_f77_int_type *' (aka 'int *') with an rvalue of type
'sunindextype *' (aka 'long *')
    octave_f77_int_type *colptrs = SUNSparseMatrix_IndexPointers (Jac);
                         ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/libinterp/dldfcn/__ode15__.cc:485:26: error: cannot initialize a
variable of type 'octave_f77_int_type *' (aka 'int *') with an rvalue of type
'sunindextype *' (aka 'long *')
    octave_f77_int_type *rowvals = SUNSparseMatrix_IndexValues (Jac);
                         ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.


It looks like our assumption that sunindextype must match the size of integers
used by the BLAS routines is not true.
I backed out the changeset here:
https://hg.savannah.gnu.org/hgweb/octave/rev/9dc9f15dac64


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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