From 28850412d151015c3dc53fac2672e6172c18ad0d Mon Sep 17 00:00:00 2001 From: Nicolas Robidoux Date: Mon, 16 Mar 2009 09:31:55 +0000 Subject: [PATCH] fixed outdated comment --- libsrc/resample/nohalo.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/resample/nohalo.cpp b/libsrc/resample/nohalo.cpp index e585bc66..3c54b2db 100644 --- a/libsrc/resample/nohalo.cpp +++ b/libsrc/resample/nohalo.cpp @@ -238,10 +238,10 @@ /* * FAST_MINMOD is an implementation of the minmod function which only * needs two conditional moves. (Most implementations need at least - * three branches.) In the Nohalo code, the square of the first - * argument is used in two different minmod computations. The product - * is also precomputed to keep it out of branching way. (Nicolas: I - * think that this may be the first two branch minmod.) + * three branches.) The product of the two arguments and a useful + * difference involving them are also precomputed to keep them out of + * branching way. (Nicolas: I think that this may be the first two + * branch minmod.) */ #define FAST_MINMOD(a,b,ab,abminusaa) \ ( (ab)>=0. ? ( (abminusaa)>=0. ? (a) : (b) ) : 0. )