MASON-INTEREST-L Archives

July 2013

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tony Bigbee <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Tue, 9 Jul 2013 10:02:19 -0600
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (563 bytes) , text/html (1175 bytes)
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]
>
>


ATOM RSS1 RSS2