From 05ca4999d45752a101dbb60df5d419a22d5011fb Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Tue, 16 Jul 2019 20:57:08 +0200 Subject: Fix vertical orientation of CPU code --- aberth/compute_host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aberth/compute_host.cpp b/aberth/compute_host.cpp index 38bf43d..343318f 100644 --- a/aberth/compute_host.cpp +++ b/aberth/compute_host.cpp @@ -29,7 +29,7 @@ vector computeHost(int W, int H, Com bottomLeft, Com topRight) { auto calcPos = [W, H, bottomLeft, topRight, &calcIndex](Com z) -> pair { return make_pair( calcIndex(z.real(), bottomLeft.real(), topRight.real(), W), - calcIndex(z.imag(), bottomLeft.imag(), topRight.imag(), H) + calcIndex(z.imag(), topRight.imag(), bottomLeft.imag(), H) ); }; -- cgit v1.2.3