summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--run_tests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.m b/run_tests.m
index da1f7d9..8578b22 100644
--- a/run_tests.m
+++ b/run_tests.m
@@ -29,7 +29,7 @@ for i = 1:num_methods
end
opt_data = opt_pred(real_data, pred_list);
-[qerr(num_methods+1), terr(num_methods+1), opt_err] = calc_error('optimize', real_data, opt_data);
+[qerr(end+1), terr(end+1), opt_err] = calc_error('optimize', real_data, opt_data);
bar(qerr);
bar(terr);