Hi Ingo, Do you have a simple test case to show the problem? What version of perl+PL... do you have?
See BUGS in the PDL distribution for the information needed for problem reports. --Chris On 4/17/12, Ingo Schmid <[email protected]> wrote: > Hi, > > I just noticed that when using interpolate, there is an inconsistency > when changing from 'Hermite' to 'Linear' and threading. This is my code. > When I try 'Linear' it barfs with thread dim 0 mismatch. > > my $seq=sequence(eval $p{kx})-$p{kx}/2; > say $r->info,cat($r,$i)->info,$resample->info,$seq->info; > >PDL: Double D [256,128,1,1,2,32]PDL: Double D [256,128,1,1,2,32,2]PDL: > Double D [256]PDL: Double D [256] > my $obj=PDL::Func->init(Interpolate => "Hermite", x > =>$resample, y=>cat($r,$i)); > my $kres=($obj->interpolate($seq))->mv(0,-1); > > > Btw., are there other schemes/modules to try? > Best > Ingo > > > _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
