Commit 7cf342f9 authored by Davis King's avatar Davis King

Fixed compile time error

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404194
parent ef4523f3
......@@ -197,7 +197,7 @@ namespace dlib
for (unsigned long i = 0; i < num; ++i)
{
get_truth_joint_feature_vector(i, ftemp);
subtract_from(psi_true, ftemp);
sparse_vector::subtract_from(psi_true, ftemp);
}
}
......@@ -208,7 +208,7 @@ namespace dlib
scalar_type loss;
separation_oracle_cached(i, w, loss, ftemp);
total_loss += loss;
add_to(subgradient, ftemp);
sparse_vector::add_to(subgradient, ftemp);
}
subgradient /= num;
......
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