aboutsummaryrefslogtreecommitdiff
path: root/aberth
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-04-20 00:00:02 +0200
committertomsmeding <tom.smeding@gmail.com>2019-04-20 00:00:02 +0200
commit68d2ce9c59e90bb9a8bee4ad65a0e87185304354 (patch)
tree2e63635a234f336a9ab39a6337d2a0617acb4ce2 /aberth
parent2852ee3c30e55efda7985387a2e89523bf900266 (diff)
Larger!
Diffstat (limited to 'aberth')
-rw-r--r--aberth/aberth.cpp6
-rw-r--r--aberth/aberth_kernel.fut4
2 files changed, 5 insertions, 5 deletions
diff --git a/aberth/aberth.cpp b/aberth/aberth.cpp
index e3c1fe8..6936809 100644
--- a/aberth/aberth.cpp
+++ b/aberth/aberth.cpp
@@ -390,9 +390,9 @@ int main(int argc, char **argv) {
if (argc <= 1) {
// tie(W, H, counts) = computeCounts();
- W = H = 900;
- Com bottomLeft = Com(-1.5, -1.5);
- Com topRight = Com(1.5, 1.5);
+ W = H = 2000;
+ Com bottomLeft = Com(-1.6, -1.6);
+ Com topRight = Com(1.6, 1.6);
counts = invoke_kernel(W, H, bottomLeft.real(), topRight.imag(), topRight.real(), bottomLeft.imag(), 42);
writeCounts(W, H, counts, "out.txt");
} else if (argc == 2) {
diff --git a/aberth/aberth_kernel.fut b/aberth/aberth_kernel.fut
index 73a82ee..fae1450 100644
--- a/aberth/aberth_kernel.fut
+++ b/aberth/aberth_kernel.fut
@@ -7,8 +7,8 @@ module rand_engine = minstd_rand
module c64 = mk_complex f64
type complex = c64.complex
-let N = 18i32
-let PolyN = 19i32
+let N = 20i32
+let PolyN = N + 1
type poly = [PolyN]f64