Mercurial > mxe-octave
comparison src/of-sparsersb-1-no-internal-mex-fcns.patch @ 5916:1b79116b34ff
of-sparsersb: Don't use internal functions (bug #61320).
* src/of-sparsersb-1-no-internal-mex-fcns.patch: Add patch.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 09 Oct 2021 19:25:04 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5915:180123754028 | 5916:1b79116b34ff |
---|---|
1 # HG changeset patch | |
2 # User Markus Mützel <markus.muetzel@gmx.de> | |
3 # Date 1633779189 -7200 | |
4 # Sat Oct 09 13:33:09 2021 +0200 | |
5 # Node ID 11cafc15faeec2ea20216f8b6e22906df5932e53 | |
6 # Parent 67a14d968d2db3ffe34474e6be1c7a2d164ad416 | |
7 Don't use internal functions (bug #61320). | |
8 | |
9 * src/sparsersb.cc (subsasgn): Use "ridx" and "cidx" instead of internal | |
10 functions. | |
11 | |
12 diff -r 67a14d968d2d -r 11cafc15faee src/sparsersb.cc | |
13 --- a/src/sparsersb.cc Tue Sep 21 11:09:59 2021 +0200 | |
14 +++ b/src/sparsersb.cc Sat Oct 09 13:33:09 2021 +0200 | |
15 @@ -1242,8 +1242,8 @@ | |
16 if(ovl(0).issparse() && ovl(0).isreal() && rhs.isreal()) | |
17 { | |
18 const SparseBoolMatrix sm = SparseBoolMatrix (ovl(0).sparse_matrix_value()); | |
19 - const octave_idx_type * ir = sm.mex_get_ir (); | |
20 - const octave_idx_type * jc = sm.mex_get_jc (); | |
21 + const octave_idx_type * ir = sm.ridx (); | |
22 + const octave_idx_type * jc = sm.cidx (); | |
23 const octave_idx_type nc = sm.cols (); | |
24 RSBOI_DEBUG_NOTICE(RSBOI_D_EMPTY_MSG); | |
25 const RSBOI_T rv = rhs.double_value(); |