MASON-INTEREST-L Archives

July 2013

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Proportional Font
Show HTML Part by Default
Condense Mail Headers

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

Print Reply
Content-Type:
multipart/alternative; boundary=047d7b342f44253e9004e1164965
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Subject:
From:
Tony Bigbee <[log in to unmask]>
Date:
Tue, 9 Jul 2013 10:02:19 -0600
In-Reply-To:
MIME-Version:
1.0
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
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