From 253ecc8d4f6aaaa4a7f86f713d1c485dac8eda78 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 26 Oct 2016 16:02:06 +1300 Subject: Rename cores => threads --- algorithms/burning-ship.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'algorithms/burning-ship.c') diff --git a/algorithms/burning-ship.c b/algorithms/burning-ship.c index 6f8c9d9..43f645f 100644 --- a/algorithms/burning-ship.c +++ b/algorithms/burning-ship.c @@ -49,7 +49,7 @@ void for (y = clust_id; y < size; y += clust_total) { a = d->core*(f->scale/size)+left; - for (x = d->core; x < size; x += cores) { + for (x = d->core; x < size; x += threads) { z = 0; c = a+I*b; for (i = 0; i < iterat; i++) { @@ -59,7 +59,7 @@ void z = cpow( fabs(creal(z)) + I*fabs(cimag(z)) , power) + c; } d->data[d->idx++] = (255*i)/iterat; - a += cores*(f->scale/size); + a += threads*(f->scale/size); } b += clust_total*(f->scale/size); } -- cgit v1.1