Commit 8314cc68 authored by Davis King's avatar Davis King

minor code cleanup

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402344
parent b464b944
...@@ -1347,7 +1347,7 @@ namespace dlib ...@@ -1347,7 +1347,7 @@ namespace dlib
) )
{ {
typedef matrix_mulscal_exp<matrix_exp<EXP>,float > exp; typedef matrix_mulscal_exp<matrix_exp<EXP>,float > exp;
return matrix_exp<exp>(exp(m,1/s)); return matrix_exp<exp>(exp(m,1.0f/s));
} }
template < template <
......
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