Hi,

shape returns a zero-size pdl on a vector. Shouldn't it be a 1-element
piddle?

Ingo

pdl> $y=zeroes(10,3,4)

pdl> p $x->shape
48
pdl> p $y->shape
[10 3 4]
pdl> help $x->shape
This variable is Double D []                   P            0.01KB

should that not be D [1]?

pdl> help $y->shape
This variable is Double D [3]                  P            0.02KB


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

Reply via email to