Print

Print


Mark -- Direct equality comparisons between doubles/floats will potentially
yield unexpected behavior--especially for novice programmers--except when
comparing cells initialized to zero with non-zero values.   Just a thought.


On Mon, Jul 8, 2013 at 6:46 PM, Mark Coletti <[log in to unmask]> wrote:

> I'd like, as a convenience, for these member functions:
>
> IntGrid2D.replace(int from, int to); // change all values of 'from' to 'to'
> DoubleGrid2D.replace(double from, double to);
>
> (I'd do it myself, but this is outside GeoMason's bailiwick.)
>
> --
> [log in to unmask]
>
>