From 93f534c9fa0819a10166941d7b0fc6038a92d1a1 Mon Sep 17 00:00:00 2001 From: Janita Willumsen Date: Tue, 12 Sep 2023 22:29:14 +0200 Subject: [PATCH] Include nstep --- src/plot_general_alg_error.py | 2 +- src/timing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plot_general_alg_error.py b/src/plot_general_alg_error.py index fdc9cb2..6cc1d42 100644 --- a/src/plot_general_alg_error.py +++ b/src/plot_general_alg_error.py @@ -7,7 +7,7 @@ def main(): fig_a, ax_a = plt.subplots() fig_b, ax_b = plt.subplots() fig_c, ax_c = plt.subplots() - for i in range(6): + for i in range(7): x = [] abs_err = [] rel_err = [] diff --git a/src/timing.py b/src/timing.py index 63b7457..623d33f 100644 --- a/src/timing.py +++ b/src/timing.py @@ -14,7 +14,7 @@ def main(): gen_alg.append(float(gen_i)) spec_alg.append(float(spec_i)) - ax.plot(x, gen_alg, label=f"General algorithm") + ax.plot(x, gen_alg, label=f"General algorithm") ax.plot(x, spec_alg, label=f"Special algorithm") ax.legend()