X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=edge-table.lisp;h=d61cb889cbc4430bf3e7171c2857ff7d64ed2770;hb=4311ba09f8c501b21745d6da45e17e446d4da2f8;hp=c6ac183dfa54d0b278254385b188bd4c6bd73607;hpb=664360fcec4508bd1c7cdac3125370c0fc2988bb;p=reversi.git diff --git a/edge-table.lisp b/edge-table.lisp index c6ac183..d61cb88 100644 --- a/edge-table.lisp +++ b/edge-table.lisp @@ -122,6 +122,7 @@ (defun combine-edge-moves (possibilities player) "Combine the best moves." (declare (type player player) + (list possibilities) (optimize (speed 3) (safety 0) (space 0))) (let ((prob 1.0) (val 0.0) @@ -199,7 +200,7 @@ for i from 0 sum (the fixnum (cond - ((= (bref board sq) empty) 0d0) + ((= (bref board sq) empty) 0) ((= (bref board sq) player) (aref *static-edge-table* i (piece-stability board sq)))