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
This commit is contained in:
Erik Reckase 2011-10-23 01:31:24 +00:00 committed by Scott Draves
parent 026dba70a7
commit 39e3709d6f

View File

@ -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;