[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] mysterious crash
From: |
Gunnar Farneback |
Subject: |
Re: [gnugo-devel] mysterious crash |
Date: |
Sat, 06 Apr 2002 17:50:37 +0200 |
User-agent: |
EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode) |
Dan wrote:
> The mystery here is why examine_positions, which runs before
> owl_reasons, doesn't reset the dragon and dragon2 arrays.
> These should be initialized by make_dragons.
That's no mystery. Examine_position() doesn't call make_dragons() and
some other code when the board is empty. If I recall correctly the
reason for this is that make_dragons() can (or at least could) crash
when called for an empty board.
/Gunnar