[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [pooma-dev] RFA: Fix Utilities Typos and Prevent Warnings
- To: Jeffrey Oldham <oldham@xxxxxxxxxxxxxxxx>, <pooma-dev@xxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [pooma-dev] RFA: Fix Utilities Typos and Prevent Warnings
- From: James Crotinger <jcrotinger@xxxxxxx>
- Date: Thu, 15 Mar 2001 09:21:41 -0700
on 3/14/01 11:59 PM, Jeffrey Oldham at oldham@xxxxxxxxxxxxxxxx wrote:
> Are the attached changes to the src/Utilities Pooma directory
> acceptable?
These look fine. One comment....
> tests/delete_test1.cpp:
>
> * Add a static_cast for conversion from float to int to avoid a
> compiler warning.
> * Add a static_cast around iterator.
This is probably a bug in the test itself - I suspect I originally had
Array_t be a vector<int> and, for whatever reason, changed it to
vector<double> or something. (Perhaps to compare timings?)
Jim
|