Skip Menu |

This queue is for tickets about the PDL-LinearAlgebra CPAN distribution.

Report information
The Basics
Id: 88867
Status: resolved
Priority: 0/
Queue: PDL-LinearAlgebra

People
Owner: chm [...] cpan.org
Requestors: chm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.06
Fixed in: 0.08



Subject: PDL::LinearAlgebra doesn't support 64bit indexing
The current implementation of PDL::LinearAlgebra does not support the coming
PDL-2.007 64bit index support.  It may not be possible with the current implementation
since the underlying code may not allow for larger than 32bit indexing.  If that is the
case, it would be good if the documentation/release notes/readme mentioned that
fact.  You can check for defined(&PDL::indx) to determine if the base PDL distribution
you are building against has the new 64bit capable index support.
Here's a patch. It will be included in the next debian release of this package. This patch performs two regex search/replace operations on all the .pd files: &$PRIV(__\([rkmnpsqu]\)_size) -> &(integer){$PRIV(__\1_size)} PDL_Long \(o?\)dims -> PDL_Indx \1dims The regexes here are emacs regexes, but you get the idea. This requires C99 and has no backwards-compatibility for older PDLs.
Subject: support_64bit_index_pdl.patch

Message body is not shown because it is too large.

On Thu Nov 14 15:26:23 2013, DKOGAN wrote: Show quoted text
> Here's a patch. It will be included in the next debian release of this > package.
Oops. The patch had a minor error. Attaching a fixed version.
Subject: support_64bit_index_pdl.patch

Message body is not shown because it is too large.

Preliminary build support for PDL_Indx support is in the PDL-LinearAlgebra-0.06_01 CPAN developers release.