|
From: | Stéphane Nicolet |
Subject: | Re: [gnugo-devel] |
Date: | Wed, 11 Jun 2003 03:24:09 +0200 |
In init_influence(), the declaration float t = cosmic_importance; should be just : float t; and the variable should be assignated its value only after the if-else block, because cosmic_importance changes in the test:Sorry, I fixed it and reposted the patch as stephane_3_22.1b.
It's still wrong in stephane_3_22.1b, because t is not initialised now ! You forgot to assign its value after the if-else block : t = cosmic_importance; Stephane.
[Prev in Thread] | Current Thread | [Next in Thread] |