aboutsummaryrefslogtreecommitdiff
path: root/fractal-gen.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-06-01 16:27:15 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2016-06-01 16:27:15 +1200
commitff85aafda23509c74f0cdaa45bcaa4721b6df59b (patch)
tree18a7589c55f7faa8548135741fd6a08a95222a32 /fractal-gen.c
parent57437e21d2695a2e5202d76080caad1b8c645af5 (diff)
downloadfractal-gen-ff85aafda23509c74f0cdaa45bcaa4721b6df59b.tar.xz
Fix bug introduced with previous commit
Diffstat (limited to 'fractal-gen.c')
-rw-r--r--fractal-gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fractal-gen.c b/fractal-gen.c
index 1cc1713..0a09c41 100644
--- a/fractal-gen.c
+++ b/fractal-gen.c
@@ -155,7 +155,7 @@ main(int argc, char **argv)
while(1) {
fprintf(stderr, "Thread %d: %.4f%%\r",
cores-1,
- 100.f*(double)x/s->datasize);
+ 100.f*(double)s->idx/s->datasize);
sleep(1);
}
break;