chiark / gitweb /
Fix hang during output of (7,6).
authorSimon Tatham <anakin@pobox.com>
Sat, 15 Mar 2014 16:48:02 +0000 (16:48 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 15 Mar 2014 16:48:02 +0000 (16:48 +0000)
commit4e22cc35232dcc00a647d308c696bd7d3b79a15a
treebff07571a1c8a4c8404e8ba61ef0a259a7786cac
parentbd7d03656ba5ad7a6b0aba793e61e1b4235aa68e
Fix hang during output of (7,6).

I had rather hoped that GLPK would always output a min fragment
slightly _less_ than the true rational value, on the basis that some
of its minima would be slightly below the right value and some
slightly above. Sadly, (7,6) consistently guesses high, so I must fall
back to the usual 1e10 bodge to round to rationals.
main.c