freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix ReduceOverContexts


From: Jeffrey D. Oldham
Subject: Re: [PATCH] Fix ReduceOverContexts
Date: Tue, 02 Dec 2003 09:49:37 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Richard Guenther wrote:
Hi!

The following patch fixes ReduceOverContext wrt "invalid" participants of
the reduction (I dont think I ever came along these, though...).

Seems obviously correct, but it isnt used extensively (only user of the
validity argument seems to be Reduction<RemoteMultiPatchEvaluatorTag> and
the case of invalidity is not covered in the testsuite).

The problem is that if the owning context has an invalid value, we're
calling the reduction operator on an uninitialized value. Ugh.

Ok?

Yes.  Please correct the spelling noted below.

@@ -280,9 +279,13 @@
     me->toReceive_m--;
   }

- // The actual value we're reducing.
+  // The actual value we're reducing.

   T value_m;
+
+  // If its valid.

Will you please change the spelling to:

If it's valid.

--
Jeffrey D. Oldham
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]