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