I think I am not understanding something here:

perldl> $a = sequence(5,4,3);
perldl> $b = $a->thread(1);
perldl> ?$b
This variable is Double D [5,3] T1 [4]         -C           0.00Kb
perldl> $c = $b->sumover; #the middle dimension
Segmentation fault

Normally I wouldn't care, and would just chalk it up to not understanding something. But a very similar example is right out of the thread() docs. As far as I can tell (I haven't mushed my brain on the Indexing manpage too much), the example I just listed should have been the same as $c=$a->mv(1,0)->sumover;

I'm trying to work on the PDL::Gaussian bug that Adam reported last week, and this came up.

Any ideas about what I am doing wrong?

Derek

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to