Commit 9328d209 authored by Davis King's avatar Davis King

Fixed a typo in the spec for round_zeros

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402309
parent d4a633ea
......@@ -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
......
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