diff options
Diffstat (limited to 'aberth')
-rw-r--r-- | aberth/aberth.cpp | 6 | ||||
-rw-r--r-- | aberth/aberth_kernel.fut | 4 |
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 |