--- ray/src/util/ranimove2.c 2004/03/26 21:36:20 3.6 +++ ray/src/util/ranimove2.c 2004/06/16 09:50:33 3.7 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: ranimove2.c,v 3.6 2004/03/26 21:36:20 schorsch Exp $"; +static const char RCSid[] = "$Id: ranimove2.c,v 3.7 2004/06/16 09:50:33 greg Exp $"; #endif /* * ranimove2.c @@ -233,12 +233,13 @@ est_consp( /* estimate error conspicuity & update */ /* worth the bother? */ if (eest <= .01) return; - /* sum into map */ + /* put into map */ for ( ; y0 < y1; y0++) { float *em0 = cerrmap + fndx(x0, y0); register float *emp = em0 + (x1-x0); while (emp-- > em0) - *emp += eest; + if (eest > *emp) + *emp = eest; } cerrzero = 0; }