diff --git a/cuburn/code/variations.py b/cuburn/code/variations.py index fb830e1..489e6d9 100644 --- a/cuburn/code/variations.py +++ b/cuburn/code/variations.py @@ -547,7 +547,7 @@ var(56, 'boarders', """ var(57, 'butterfly', """ /* wx is weight*4/sqrt(3*pi) */ float wx = w * 1.3029400317411197908970256609023f; - float y2 = ty * 2.0f + float y2 = ty * 2.0f; float r = wx * sqrtf(fabsf(ty * tx)/(tx*tx + y2*y2)); ox += r * tx; oy += r * y2; @@ -591,7 +591,7 @@ var(58, 'cell', """ var(59, 'cpow', """ float a = atan2f(ty, tx); float lnr = 0.5f * logf(sqrtf(tx*tx+ty*ty)); - float power = {{px.get('xf.cpow_power')}} + float power = {{px.get('xf.cpow_power')}}; float va = 2.0f * M_PI / power; float vc = {{px.get('xf.cpow_r')}} / power; float vd = {{px.get('xf.cpow_i')}} / power;