From ff85aafda23509c74f0cdaa45bcaa4721b6df59b Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 1 Jun 2016 16:27:15 +1200 Subject: Fix bug introduced with previous commit --- fractal-gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1