~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math/limlee.c: Fiddle with the large-prime heuristics.
[catacomb]
/
math
/
limlee.c
diff --git
a/math/limlee.c
b/math/limlee.c
index
13bbc21
..
fbed738
100644
(file)
--- a/
math/limlee.c
+++ b/
math/limlee.c
@@
-225,7
+225,7
@@
static int next(int rq, pgen_event *ev, limlee_stepctx *l)
if (l->qq.p) {
dist = l->u.s.disp < 0 ? -l->u.s.disp : l->u.s.disp;
- if (dist && dist > l->u.s.steps/
dist
) {
+ if (dist && dist > l->u.s.steps/
3
) {
l->pops->pfree(&l->qq, l);
l->qq.p = 0;
}