mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
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:
parent
d4a633ea62
commit
9328d20991
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user