aboutsummaryrefslogtreecommitdiff
path: root/algorithms/burning-ship-lattice.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-07-28 21:43:31 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-07-28 21:43:31 +1200
commit2ad2848d4ee3a9bda31b0e41d05fa9dcdc48ab54 (patch)
treea19927e843629ea4da22f9b18dd0dfe51330a9ae /algorithms/burning-ship-lattice.c
parent5de1d4d587ab2a655163f52d292a3eb982886331 (diff)
downloadfractal-gen-2ad2848d4ee3a9bda31b0e41d05fa9dcdc48ab54.tar.xz
This never happened...
Diffstat (limited to 'algorithms/burning-ship-lattice.c')
-rw-r--r--algorithms/burning-ship-lattice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/algorithms/burning-ship-lattice.c b/algorithms/burning-ship-lattice.c
index 7c2d1e9..b197ac7 100644
--- a/algorithms/burning-ship-lattice.c
+++ b/algorithms/burning-ship-lattice.c
@@ -39,7 +39,7 @@ void *generate_burning_ship_lattice_section(void *section)
for (y = d->core, b = (d->core*(size_units/size)+top); y < size; b+=((cores*size_units)/size), y+=cores)
{
- for (x = 0, a = left; x < size; a+=(size_units/size), x++)
+ for (x = clust_id, a = (clust_id*(size_units/size)+left); x < size; a+=((clust_total*size_units)/size), x+=clust_total)
{
z = 0;
c = a+I*b;