diff options
author | Erik Reckase <e.reckase@gmail.com> | 2011-10-23 01:31:24 +0000 |
---|---|---|
committer | Scott Draves <spot@draves.org> | 2015-02-15 12:20:15 -0500 |
commit | 39e3709d6fd2b6716b5dade441cfd0a56c06f99c (patch) | |
tree | 64d7892328496b58a7deb325dbed7ca75949c3f9 /src | |
parent | 026dba70a78090b9ce26506fd432c7ae88e10fed (diff) | |
download | pucket-39e3709d6fd2b6716b5dade441cfd0a56c06f99c.tar.gz pucket-39e3709d6fd2b6716b5dade441cfd0a56c06f99c.tar.bz2 pucket-39e3709d6fd2b6716b5dade441cfd0a56c06f99c.zip |
s array in interpolate_n was one element too small
git-svn-id: https://flam3.googlecode.com/svn/trunk@163 77852712-ef1d-11de-8684-7d64432d61a3
Diffstat (limited to 'src')
-rw-r--r-- | src/interpolation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interpolation.c b/src/interpolation.c index b23e687..0ab1c54 100644 --- a/src/interpolation.c +++ b/src/interpolation.c @@ -366,7 +366,7 @@ void flam3_interpolate_n(flam3_genome *result, int ncp, if (flam3_palette_interpolation_hsv == cpi[0].palette_interpolation) { for (i = 0; i < 256; i++) { - double t[3], s[4]; + double t[3], s[5]; int alpha1 = 1; s[0] = s[1] = s[2] = s[3] = s[4] = 0.0; |