Commit 6c34e655 authored by Davis King's avatar Davis King

Changed oca code so the prior vector can be the same object as the w vector.

parent 4ee56cb6
......@@ -152,7 +152,7 @@ namespace dlib
typename matrix_type::type oca_impl (
const oca_problem<matrix_type>& problem,
matrix_type& w,
const matrix_type& prior,
const matrix_type prior,
bool have_prior,
unsigned long num_nonnegative,
unsigned long force_weight_to_1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment