diff options
author | tomsmeding <tom.smeding@gmail.com> | 2019-07-16 20:57:08 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2019-07-16 20:57:08 +0200 |
commit | 05ca4999d45752a101dbb60df5d419a22d5011fb (patch) | |
tree | 52f30964d61ed10ca3dc670796f1cab9213e9da2 /aberth | |
parent | e048daa436c38079c64be376e8c2bc37490ffc99 (diff) |
Fix vertical orientation of CPU code
Diffstat (limited to 'aberth')
-rw-r--r-- | aberth/compute_host.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<int> computeHost(int W, int H, Com bottomLeft, Com topRight) { auto calcPos = [W, H, bottomLeft, topRight, &calcIndex](Com z) -> pair<int, int> { 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) ); }; |