Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] Re: help request on PR#1435
Home

[Freeciv-Dev] Re: help request on PR#1435

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: help request on PR#1435
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Tue, 21 May 2002 19:46:40 +0100 (BST)

On Mon, 13 May 2002, Mike Kaufman wrote:

> for anyone with a bit of time on their hands, please take a look at
> PR#1435. I suspect the cause of this bug is that win_chance() is returning
> a value that's outside the the [0,1] bounds.

I cannot reproduce the bug.  I suspect you are right and win_chance 
returns a value greater than 1 but it's FP error and should be 
insignificant.

I've never seen it happen and in any case it's not a critical bug at 
all.

G.


> 
> Again, the assert was:
> 
> "Spiel gespeichert als 'civgame1710.sav.gz'
> > civserver: combat.c:453: get_defender: Zusicherung .unit_def >= 0. nicht
> erf.llt.
> Aborted"
> 
> If anyone can verify that it can indeed happen and perhaps even the where
> the problem is, I'll give him a cookie.
> 
> -mike
> 
> PS: It'll be one of those Nieman Marcus cookies ;)




[Prev in Thread] Current Thread [Next in Thread]