[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #36783] Large sparse matrix fails in thee 64-b
From: |
Rofu |
Subject: |
[Octave-bug-tracker] [bug #36783] Large sparse matrix fails in thee 64-bit build |
Date: |
Wed, 04 Jul 2012 16:33:58 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.54 Safari/536.5 |
URL:
<http://savannah.gnu.org/bugs/?36783>
Summary: Large sparse matrix fails in thee 64-bit build
Project: GNU Octave
Submitted by: rofu
Submitted on: Wed 04 Jul 2012 04:33:58 PM GMT
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Rofu
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.2
Operating System: GNU/Linux
_______________________________________________________
Details:
Followed the instruction in
http://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html,
allocating a sparse matrix with more than 2G nnz elements fails.
After traced the code, I found a bug on the line 1517 in mex.cc.
Types for m, n, nzmax_arg should be "mwSize" rather than "int."
Here is the diff result:
1517c1517
< mxArray_sparse (mxClassID id_arg, int m, int n, int nzmax_arg,
---
> mxArray_sparse (mxClassID id_arg, mwSize m, mwSize n, mwSize nzmax_arg,
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36783>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #36783] Large sparse matrix fails in thee 64-bit build,
Rofu <=