Fixed last fix

This commit is contained in:
Nikola
2026-07-13 23:13:08 +02:00
parent c68d8c7c15
commit 085bb04595
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void tricorn(float complex start, size_t width, ssize_t height, float res, unsig
const size_t y_step = (abs_height+thread_count-1)/thread_count;
const float start_r = crealf(start);
const float directional_res = (flipped ? -1.0f: 1.0f)*res;
const float start_i = height > 0 ? cimag(start) : cimag(start) + (height * directional_res);
const float start_i = height > 0 ? cimag(start) : cimag(start) + ((abs_height - 1) * res);
const_args* consts = malloc(sizeof(*consts));
consts->width = width;