File: build-against-octave-6.patch

package info (click to toggle)
octave-secs2d 0.0.8-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: cpp: 275; makefile: 80; sh: 4
file content (17 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix FTBFS against Octave 6.1
Author: Rafael Laboissière <rafael@debian.org>
Bug-Debian: https://bugs.debian.org/976207
Forwarded: https://savannah.gnu.org/bugs/index.php?59606
Last-Update: 2020-12-02

--- octave-secs2d-0.0.8.orig/src/Ubern.cc
+++ octave-secs2d-0.0.8/src/Ubern.cc
@@ -115,7 +115,7 @@ B(-Z)=Z+B(Z)\n")
 
 
   NDArray X ( args(0).array_value() );
-  octave_idx_type lx = X.length();
+  octave_idx_type lx = X.numel();
 
   NDArray BP(X),BN(X);