fixed comment some more
This commit is contained in:
parent
28850412d1
commit
1e9233141c
@ -237,11 +237,10 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* FAST_MINMOD is an implementation of the minmod function which only
|
* FAST_MINMOD is an implementation of the minmod function which only
|
||||||
* needs two conditional moves. (Most implementations need at least
|
* needs two conditional moves. (Nicolas: I think that this may be
|
||||||
* three branches.) The product of the two arguments and a useful
|
* the very first two branch minmod.) The product of the two arguments
|
||||||
* difference involving them are also precomputed to keep them out of
|
* and a useful difference involving them are also precomputed to keep
|
||||||
* branching way. (Nicolas: I think that this may be the first two
|
* them out of branching way.
|
||||||
* branch minmod.)
|
|
||||||
*/
|
*/
|
||||||
#define FAST_MINMOD(a,b,ab,abminusaa) \
|
#define FAST_MINMOD(a,b,ab,abminusaa) \
|
||||||
( (ab)>=0. ? ( (abminusaa)>=0. ? (a) : (b) ) : 0. )
|
( (ab)>=0. ? ( (abminusaa)>=0. ? (a) : (b) ) : 0. )
|
||||||
|
Loading…
Reference in New Issue
Block a user