chiark / gitweb /
I've just noticed a bug in the Inertia solver: if you call it on an
authorSimon Tatham <anakin@pobox.com>
Mon, 26 Dec 2005 11:26:34 +0000 (11:26 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 26 Dec 2005 11:26:34 +0000 (11:26 +0000)
commit74f45138aeb6608137344c7d5245ff6e3ec12572
tree7cfa2acd8fd3a35e2d0bd39ee04570e908c2459f
parentf0ec00fb4cfc11b82ceb8adb54dc3460102448ac
I've just noticed a bug in the Inertia solver: if you call it on an
already-solved grid (i.e. no gems), it will still attempt to show
you a move you can make. Eliminate that special case.

[originally from svn r6507]
inertia.c