[Pkg-octave-devel] Bug#350230: marked as done (octave2.9: glpk() fails on sparse matrices)

Debian Bug Tracking System owner at bugs.debian.org
Sat Jan 28 15:48:28 UTC 2006


Your message dated Sat, 28 Jan 2006 07:32:10 -0800
with message-id <E1F2s3e-0008G4-40 at spohr.debian.org>
and subject line Bug#350230: fixed in octave2.9 2.9.4-12
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Jan 2006 03:36:25 +0000
>From k-reportbug at oek.dk Fri Jan 27 19:36:25 2006
Return-path: <k-reportbug at oek.dk>
Received: from pfepb.post.tele.dk ([195.41.46.236])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1F2gsz-0006Rs-Ax
	for submit at bugs.debian.org; Fri, 27 Jan 2006 19:36:25 -0800
Received: from kanon.i9.dk (0x5731209e.boanxx12.adsl-dhcp.tele.dk [87.49.32.158])
	by pfepb.post.tele.dk (Postfix) with ESMTP id D507AA5000E;
	Sat, 28 Jan 2006 04:36:20 +0100 (CET)
Received: from kim by kanon.i9.dk with local (Exim 4.60)
	(envelope-from <k-reportbug at oek.dk>)
	id 1F2gsw-0004wV-4X; Sat, 28 Jan 2006 04:36:22 +0100
Content-Type: multipart/mixed; boundary="===============0325879321=="
MIME-Version: 1.0
From: Kim Hansen <k-reportbug at oek.dk>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: octave2.9: glpk() fails on sparse matrices
Message-ID: <20060128033621.18979.64346.reportbug at kanon.i9.dk>
X-Mailer: reportbug 3.18
Date: Sat, 28 Jan 2006 04:36:21 +0100
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============0325879321==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: octave2.9
Version: 2.9.4-11
Severity: normal
Tags: patch


glpk() fails on sparse matrices with a coredump, I have attached a patch
that fixes it.

Regards,
Kim Hansen

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-486
Locale: LANG=en_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)

--===============0325879321==
Content-Type: text/x-c++; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="patch"

--- __glpk__.cc.orig	2006-01-28 03:18:23.000000000 +0000
+++ __glpk__.cc	2006-01-28 03:19:58.000000000 +0000
@@ -482,7 +482,7 @@
     }
   else
     {
-      SparseMatrix A (args(1).matrix_value ()); // get the sparse matrix
+      SparseMatrix A = args(1).sparse_matrix_value (); // get the sparse matrix
 
       if (error_state)
 	{
@@ -509,7 +509,7 @@
 	    nz++;
 	    rn(nz) = A.ridx(i) + 1;
 	    cn(nz) = j + 1;
-	    a(nz) = A(i,j);
+	    a(nz) = A.data(i);
 	  }
     }
 

--===============0325879321==--

---------------------------------------
Received: (at 350230-close) by bugs.debian.org; 28 Jan 2006 15:40:31 +0000
>From katie at ftp-master.debian.org Sat Jan 28 07:40:31 2006
Return-path: <katie at ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1F2s3e-0008G4-40; Sat, 28 Jan 2006 07:32:10 -0800
From: Rafael Laboissiere <rafael at debian.org>
To: 350230-close at bugs.debian.org
X-Katie: $Revision: 1.65 $
Subject: Bug#350230: fixed in octave2.9 2.9.4-12
Message-Id: <E1F2s3e-0008G4-40 at spohr.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Sat, 28 Jan 2006 07:32:10 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: octave2.9
Source-Version: 2.9.4-12

We believe that the bug you reported is fixed in the latest version of
octave2.9, which is due to be installed in the Debian FTP archive:

octave2.9-doc_2.9.4-12_all.deb
  to pool/main/o/octave2.9/octave2.9-doc_2.9.4-12_all.deb
octave2.9-emacsen_2.9.4-12_all.deb
  to pool/main/o/octave2.9/octave2.9-emacsen_2.9.4-12_all.deb
octave2.9-headers_2.9.4-12_i386.deb
  to pool/main/o/octave2.9/octave2.9-headers_2.9.4-12_i386.deb
octave2.9-htmldoc_2.9.4-12_all.deb
  to pool/main/o/octave2.9/octave2.9-htmldoc_2.9.4-12_all.deb
octave2.9-info_2.9.4-12_all.deb
  to pool/main/o/octave2.9/octave2.9-info_2.9.4-12_all.deb
octave2.9_2.9.4-12.diff.gz
  to pool/main/o/octave2.9/octave2.9_2.9.4-12.diff.gz
octave2.9_2.9.4-12.dsc
  to pool/main/o/octave2.9/octave2.9_2.9.4-12.dsc
octave2.9_2.9.4-12_i386.deb
  to pool/main/o/octave2.9/octave2.9_2.9.4-12_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 350230 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael at debian.org> (supplier of updated octave2.9 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 28 Jan 2006 15:23:55 +0100
Source: octave2.9
Binary: octave2.9-headers octave2.9-info octave2.9-htmldoc octave2.9 octave2.9-emacsen octave2.9-doc
Architecture: source i386 all
Version: 2.9.4-12
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel at lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael at debian.org>
Description: 
 octave2.9  - GNU Octave language for numerical computations (2.9 branch)
 octave2.9-doc - PDF documentation on the GNU Octave language (2.9 branch)
 octave2.9-emacsen - Emacs support for the GNU Octave language (2.9 branch)
 octave2.9-headers - header files for the GNU Octave language (2.9 branch)
 octave2.9-htmldoc - HTML documentation on the GNU Octave language (2.9 branch)
 octave2.9-info - GNU Info documentation on the GNU Octave language (2.9 branch)
Closes: 350230
Changes: 
 octave2.9 (2.9.4-12) unstable; urgency=low
 .
   * debian/patches/50_glpk-sparse.dpatch: Patch to make glpk work with
     sparse matrices (thanks to Kim Hansen <k-reportbug at oek.dk>,
     closes: 350230)
Files: 
 4322d03e5212ccc0f1f2b3c16138c7e2 1078 math optional octave2.9_2.9.4-12.dsc
 0563058b95be4d6a9743329a9ea967d6 36837 math optional octave2.9_2.9.4-12.diff.gz
 910f7c5417180f826f2fee95db54d961 6541196 math optional octave2.9_2.9.4-12_i386.deb
 ae6ba58fae4ec086cedc30161471e64e 320438 math optional octave2.9-headers_2.9.4-12_i386.deb
 23832552508d4c3024f37256f7be4682 1900094 doc optional octave2.9-doc_2.9.4-12_all.deb
 ebe0f2f80ec483ff76c8b0251e43080c 403024 math optional octave2.9-htmldoc_2.9.4-12_all.deb
 ecfa0b8931a9543a6d477a357d3b7371 75474 math optional octave2.9-emacsen_2.9.4-12_all.deb
 f40c8e4afae31961abd4495e13accb2e 332218 math optional octave2.9-info_2.9.4-12_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD24w9k3oga0pdcv4RAu8RAJ9WsimIP6dkh0DtdfNWjKsZFQ3fRwCdFCwI
xT+eh091WkizocX5Ro3VVak=
=V0Zu
-----END PGP SIGNATURE-----




More information about the Pkg-octave-devel mailing list