diff options
-rw-r--r-- | attract.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ static void* thread_entry(void *arg_vp){ for(int ix=0;ix<cfg.width;ix++){ const double complex start=CMPLX( (double)(ix-cfg.width/2)/cfg.unitsz+cfg.midx, - (double)(iy-cfg.height/2)/cfg.unitsz+cfg.midy); + cfg.midy-(double)(iy-cfg.height/2)/cfg.unitsz); double complex z=start; for(int i=0;i<MAXITER;i++){ z=att_func(z,cfg.exponent); |