Skip to content

Commit

Permalink
remove workaround for type-selection fixed in PDL 2.097
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 3, 2025
1 parent 14498c8 commit a52848e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- remove workaround for type-selection fixed in PDL 2.097

0.20 2024-12-02
- remove support for PDL::Complex entirely - rfft* now same as rNfft*

Expand Down
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ $descriptor{INC} = '' unless defined $descriptor{INC};
$descriptor{INC} .= " $cflags";

$descriptor{PREREQ_PM} = {
'PDL' => '2.091', # t method
'PDL' => '2.097', # fixed type-selecting
};
$descriptor{CONFIGURE_REQUIRES} = {
'PDL' => '2.091',
'PDL' => '2.097',
'IPC::Run' =>0,
# 'Alien::FFTW3' =>0,
};
Expand Down
7 changes: 0 additions & 7 deletions fftw3.pd
Original file line number Diff line number Diff line change
Expand Up @@ -693,13 +693,6 @@ EOF
pp_def("__rNfft$rank",
%pp_def,
Code => $TEMPLATE_REAL_R2C,
NewXSTypeCoerceNS => <<'EOF',
$PRIV(__datatype) = $PDL(real)->datatype;
pdl_transvtable *vtable = $PRIV(vtable);
PDL_Indx i, nchildren = vtable->npdls - vtable->nparents;
pdl **pdls = $PRIV(pdls);
for (i=vtable->nparents; i<vtable->npdls; i++) pdls[i+nchildren] = pdls[i];
EOF
);
}

Expand Down

0 comments on commit a52848e

Please sign in to comment.