Commit 1a46b1ba authored by Davis King's avatar Davis King

Fixed code not compiling when cuda is disabled.

parent a8384d39
...@@ -818,7 +818,7 @@ namespace dlib { namespace tt ...@@ -818,7 +818,7 @@ namespace dlib { namespace tt
#ifdef DLIB_USE_CUDA #ifdef DLIB_USE_CUDA
finv(m,out); finv(m,out);
#else #else
out = dlib::inv(m); out = dlib::inv(mat(m));
#endif #endif
} }
......
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