Skip to content

Commit

Permalink
split Libtmp/LegacyComplex out to separate PDL::Complex distro
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Nov 26, 2024
1 parent 6e64bbd commit e43e8a0
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 1,682 deletions.
6 changes: 3 additions & 3 deletions Basic/lib/PDL/IO/FITS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,7 @@ sub _prep_table {
=begin WHENCOMPLEXVALUESWORK
if( UNIVERSAL::isa($var,'PDL::Complex') ) {
if (!$var->type->real) {
$rpt = $var->dim(1);
$t = 'complex'
} else {
Expand All @@ -2241,8 +2241,8 @@ sub _prep_table {
=cut

barf "Error: wfits() currently can not handle PDL::Complex arrays (column $colnames[$i])\n"
if UNIVERSAL::isa($var,'PDL::Complex');
barf "Error: wfits() currently can not handle complex arrays (column $colnames[$i])\n"
if !$var->type->real;

$t = $bintable_types{$var->type};

Expand Down
4 changes: 0 additions & 4 deletions Basic/lib/PDL/Index.pod
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,6 @@ L<PDL::Char> - PDL subclass which allows reading and writing of fixed-length cha

=item *

L<PDL::Complex> - handle complex numbers (DEPRECATED - use native complex)

=item *

L<PDL::Complex::Overloads> - subclass of Math::Complex with overload fallbacks

=item *
Expand Down
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
- move PDL::Graphics::State to PGPLOT distro
- split Graphics/Limits out to separate PDL::Graphics::Limits distro
- split IO/Browser out to separate PDL::IO::Browser distro
- split Libtmp/LegacyComplex out to separate PDL::Complex distro

2.095 2024-11-03
- add PDL_GENTYPE_IS_{REAL,FLOATREAL,COMPLEX,SIGNED,UNSIGNED}_##ppsym (#502)
Expand Down
2 changes: 1 addition & 1 deletion IO/IDL/IDL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ These things are known to be not working and may one day be fixed:
=item COMPLEX numbers
These could be implemented as 2-arrays or as PDL::Complex values, but aren't yet.
These could be implemented as 2-arrays or as native complex values, but aren't yet.
=item PTR types
Expand Down
3 changes: 0 additions & 3 deletions Libtmp/LegacyComplex/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions Libtmp/LegacyComplex/Makefile.PL

This file was deleted.

Loading

0 comments on commit e43e8a0

Please sign in to comment.