summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-11 11:35:03 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-05-11 11:35:03 +0200
commitb6f2cf748e0e738f99a977f03e0403b29ae62e22 (patch)
tree527f08331fa61649ea4f63d632402dfb38396680
parentadecf91d28868fe604fb0db9984bbe609d567aca (diff)
downloaddmc-b6f2cf748e0e738f99a977f03e0403b29ae62e22.tar.gz
dmc-b6f2cf748e0e738f99a977f03e0403b29ae62e22.tar.bz2
dmc-b6f2cf748e0e738f99a977f03e0403b29ae62e22.zip
run_tests: Add optimze errors into qerr/terr directly
-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);