in reply to Re^2: perl PDL question
in thread perl PDL question

dummy takes 2 mandatory arguments:
  1. the pdl
  2. the dimension number that will be the dummy dimension
Somehow, the dimension is defaulting to 0.
This error should go away if you use
$tsearch = $time->dummy(0);
which has the same effect and is more explicit

Replies are listed 'Best First'.
Re^4: perl PDL question
by nickschurch (Acolyte) on Nov 29, 2007 at 04:22 UTC
    Brilliant! Anonymous++