From 8d217377d727a204dccb9f1ceeee10e422e256be Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 26 Jan 2013 10:28:44 -0500 Subject: [PATCH] Fixed a bug introduced yesterday --- dlib/optimization/optimization_oca.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/optimization/optimization_oca.h b/dlib/optimization/optimization_oca.h index f866eedc8..4905a9d53 100644 --- a/dlib/optimization/optimization_oca.h +++ b/dlib/optimization/optimization_oca.h @@ -245,7 +245,7 @@ namespace dlib // copy planes into a matrix so we can call solve_qp4_using_smo() matrix planes_mat(num_nonnegative,planes.size()); for (unsigned long i = 0; i < planes.size(); ++i) - set_rowm(planes_mat,i) = rowm(planes[i],0,num_nonnegative); + set_colm(planes_mat,i) = colm(planes[i],0,num_nonnegative); solve_qp4_using_smo(planes_mat, K, mat(bs), alpha, eps, sub_max_iter); }