The statement "if ( dist = list[n].dist )" is correct. it should perhaps
be re-written to "if ( list[n].dist == 0.0 )" and then assignd "dist =
list[n].dist;" in the if-block (or use "list[n].dist" as the divisor),
to make it explicit what we are doing. if dist is zero then the distance
to one of the sites is zero, and we simply use the site value instead.
--Wolf
--
<:3 )---- Wolf Bergenheim ----( 8:>
On 30/12/05 19:53, Muzaffer Ayvaz wrote:
Hi all;
While i am compiling the grass source codes gcc shows a warning. for the line