This commit is contained in:
Davis King 2014-02-10 18:29:34 -05:00
commit 440ffe8203
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,7 @@ namespace dlib
) const
{
obj = 0;
grad.set_size(m.size());
grad.set_size(m.size(), 1);
grad = 0;
matrix<double> u,v,w,f;