Hi Karl- The 'bug' was more in the interaction of various dataflow connections as implemented by mv(), reshape(), and others. We 'fixed' the problem by forbidding the problematic operation.
The goal for PDL-2.015 was to fix the critical problems of PDL-2.014 so that we would have a PDL version with working 64bit index support. This is to provide a stable, PDL-2.x version to hold at while work on PDLA and PDLng takes place. For PDL-2.015 you'll need to use an explicit sever to get the result you wish: $R->mv(-1,0)->sever()->reshape(4,2) We'll maintain PDL-2.015 as the stable, reference release with incremental clean-up releases as updates and bug fixes are made. However, the plan is that the PDL Next Gen (PDLng) and the move to an agile development stance will be the best way to improve PDL further. I'm hopeful that the new developments will make PDL more exciting and attract new contributions and grow the PDL community. Cheers, Chris On 12/6/2015 10:13, Karl Glazebrook wrote: > I am still curious about the reshape ‘bug’ from v.2014. > > On PDL-2.015: > >> pdl> $R = double([ [ [0,1],[2,3] ],[ [4,5],[6,7] ] ]); >> >> pdl> p $R->mv(-1,0)->reshape(4,2) >> Can't setdims on a PDL that already has children at blib/lib/PDL/Core.pm >> line 2650, <DATA> line 90. > > On a very old version (PDL 2.007): > >> pdl> $R = double([ [ [0,1],[2,3] ],[ [4,5],[6,7] ] ]); >> >> pdl> p $R->mv(-1,0)->reshape(4,2) >> >> [ >> [0 4 1 5] >> [2 6 3 7] >> ] >> > Isn’t the latter what we expect? > > Karl > ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
