Renamed a function.

This commit is contained in:
Davis King 2012-04-30 20:00:56 -04:00
parent 011aae49c1
commit 4b165cd186
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ namespace dlib
) const { return node_weights; }
template <typename graph_type>
void predict_assignments (
void operator() (
const graph_type& samp,
result_type& labels
) const
@ -83,7 +83,7 @@ namespace dlib
) const
{
result_type temp;
predict_assignments(sample, temp);
(*this)(sample, temp);
return temp;
}