I'm getting a failure when doing 'demo cartography' from the perldl shell with 
2.00716 installed.  It fails on the first line:

$coast = earth_coast() -> glue( 1, graticule(15,1) );

OOPS!!! Something went wrong, please make a bug report!: PDL: 
PDL::Primitive::append(a,b,c): Parameter 'b':
  Mismatched implicit thread dimension 0: size 3 vs. 2
There are 3 PDLs in the expression; 1 thread dim.
   PDL IN EXPR.    ACTIVE DIMS | THREAD DIMS
   #  0 (normal):        18031 |        3
   #  1 (normal):         9037 |        2
   #  2 (null)
 
.. at /Users/derek/local/lib/perl5/darwin-thread-multi-2level/PDL/Primitive.pm 
line 1692.

pdl> p earth_coast()->shape
[3 18031]
pdl> p graticule(15,1)->shape
[3 9037]

Notice that append is reporting the graticule to have a thread dim of size 2, 
not 3.  I get the same result in 2.007.

In 2.006 I get:

pdl> p earth_coast()->shape
[3 18031]
pdl> p graticule(15,1)->shape  ##note different size (but unimportant?)
[3 8857]
pdl> p earth_coast() -> glue( 1, graticule(15,1) )->shape;
[3 26888]

So in PDL-2.006 it works as expected.  Is anybody else seeing that demo failure 
in recent PDLs?

Derek
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to