Fixed a typo in the spec for round_zeros

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402309
This commit is contained in:
Davis King 2008-06-13 23:12:42 +00:00
parent d4a633ea62
commit 9328d20991

View File

@ -246,7 +246,7 @@ namespace dlib
- R has the same dimensions as m
- let eps == 10*std::numeric_limits<matrix_exp::type>::epsilon()
- for all valid r and c:
- if (m(r,c) >= eps || m(r,c) <= eps) then
- if (abs(m(r,c)) >= eps) then
- R(r,c) == m(r,c)
- else
- R(r,c) == 0
@ -266,7 +266,7 @@ namespace dlib
- R::type == the same type that was in m
- R has the same dimensions as m
- for all valid r and c:
- if (m(r,c) >= eps || m(r,c) <= eps) then
- if (abs(m(r,c)) >= eps) then
- R(r,c) == m(r,c)
- else
- R(r,c) == 0