Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
ff378a69
"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "eced0d52abeab6f1e1beba4686ac89eaf57d6438"
Commit
ff378a69
authored
Mar 03, 2013
by
Davis King
Browse files
made test a little more robust
parent
205070e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/test/linear_manifold_regularizer.cpp
dlib/test/linear_manifold_regularizer.cpp
+1
-1
No files found.
dlib/test/linear_manifold_regularizer.cpp
View file @
ff378a69
...
...
@@ -35,7 +35,7 @@ namespace
for
(
unsigned
long
i
=
0
;
i
<
edges1
.
size
();
++
i
)
{
DLIB_TEST
(
edges1
[
i
]
==
edges2
[
i
]);
DLIB_TEST_MSG
(
std
::
abs
(
edges1
[
i
].
distance
()
-
edges2
[
i
].
distance
())
<
1e-
15
,
DLIB_TEST_MSG
(
std
::
abs
(
edges1
[
i
].
distance
()
-
edges2
[
i
].
distance
())
<
1e-
7
,
edges1
[
i
].
distance
()
-
edges2
[
i
].
distance
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment