chiark
/
gitweb
/
~ianmdlvl
/
matchsticks-search.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Filled in the observations section.
[matchsticks-search.git]
/
main.c
diff --git
a/main.c
b/main.c
index 5850860559113dd0bbd0b1de3de12437ebca167c..96f945cf0efd8f91a425997222536638d75e1ef1 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-796,7
+796,7
@@
static void report(void) {
if (ai[i][j] > 0 && ai[i][j] < imin)
imin = ai[i][j];
- if (
(double)imin / d < min
)
+ if (
abs((double)imin / d - min) > 1e-10
)
goto next_d;
/*