chiark / gitweb /
Net hangs if you ask it for a 2xn or nx2 wrapping puzzle with a
authorSimon Tatham <anakin@pobox.com>
Mon, 23 May 2005 11:03:52 +0000 (11:03 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 23 May 2005 11:03:52 +0000 (11:03 +0000)
commit9c54e18f0bcfa9749b433e4a13bcd88c75a997e5
tree91d4cb571267fd369779cd446dfc59f81be283a4
parent3266a0e7ba5071d0392d09f2aaa11ce5d2915f7a
Net hangs if you ask it for a 2xn or nx2 wrapping puzzle with a
unique solution. This, it turns out, is because there is literally
no such thing. Protective constraint added to validate_params(),
with a proof in a comment alongside.

If you really want a 2xn or nx2 wrapping puzzle, you can still have
one if you turn uniqueness off.

[originally from svn r5835]
net.c