diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-05-11 14:21:50 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-05-11 14:21:50 +0200 |
commit | b5adc6444724e5761defeb1bb9d622e73fe23339 (patch) | |
tree | c797142c8a912ea58f36cc79056c6475d75ed5af | |
parent | 50f23e5f789def15f59fe3fa8aab24b134d3a518 (diff) | |
download | dmc-b5adc6444724e5761defeb1bb9d622e73fe23339.tar.gz dmc-b5adc6444724e5761defeb1bb9d622e73fe23339.tar.bz2 dmc-b5adc6444724e5761defeb1bb9d622e73fe23339.zip |
run_tests: Use end-keyword for appending to a vector
-rw-r--r-- | run_tests.m | 2 |
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); |