Re: Problem with parallel map

2011-03-06 Thread Robert Jacques
On Sun, 06 Mar 2011 09:33:05 -0500, dsimcha wrote: http://d.puremagic.com/issues/show_bug.cgi?id=5710 It's a DMD issue. I've been meaning to report it for a while. Unfortunately making a workaround for it would be a huge PITA at best and impossible in the toughest use cases. I've run in

Re: Problem with parallel map

2011-03-06 Thread Russel Winder
On Sun, 2011-03-06 at 09:33 -0500, dsimcha wrote: > http://d.puremagic.com/issues/show_bug.cgi?id=5710 > > It's a DMD issue. I've been meaning to report it for a while. > Unfortunately making a workaround for it would be a huge PITA at best > and impossible in the toughest use cases. OK, I sig

Re: Problem with parallel map

2011-03-06 Thread dsimcha
http://d.puremagic.com/issues/show_bug.cgi?id=5710 It's a DMD issue. I've been meaning to report it for a while. Unfortunately making a workaround for it would be a huge PITA at best and impossible in the toughest use cases. On 3/6/2011 9:12 AM, Russel Winder wrote: David, I am not sure ho

Problem with parallel map

2011-03-06 Thread Russel Winder
David, I am not sure how properly to report this in this review period . . . If I use: taskPool.reduce ! ( "a + b" ) ( 0.0 , outputData ) then it works. If however I try: taskPool.reduce ! ( ( a , b ) { return a + b ; } ) ( 0.0 , outputData ) I get: pi_d2_parallel