From e5f40e338480f532d16383c19cb59e0c966f109d Mon Sep 17 00:00:00 2001 From: Michel Mastriani Date: Thu, 30 May 2019 08:46:18 -0300 Subject: [PATCH] Fixed Hypershift2 in OpenCL --- Source/Ember/Variations07.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Ember/Variations07.h b/Source/Ember/Variations07.h index 75c307c..331c08f 100644 --- a/Source/Ember/Variations07.h +++ b/Source/Ember/Variations07.h @@ -2326,7 +2326,7 @@ public: << "\t\treal_t rad = 1 / Zeps(fma(fx, fx, SQR(fy)));\n" << "\t\treal_t x = rad * fx + " << shift << ";\n" << "\t\treal_t y = rad * fy;\n" - << "\t\trad = " << weight << " * " << shift << " / Zeps(fma(x, x, SQR(y)));\n" + << "\t\trad = " << weight << " * " << scale << " / Zeps(fma(x, x, SQR(y)));\n" << "\t\treal_t angle = (MwcNextRange(mwc, (int)" << p << ") * 2 + 1) * MPI / " << p << ";\n" << "\t\treal_t X = fma(rad, x, " << shift << ");\n" << "\t\treal_t Y = rad * y;\n"