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
1b3fbc2c
"tools/vscode:/vscode.git/clone" did not exist on "a0990563db0f48adc2326ebfcf545be9bbad7be7"
Commit
1b3fbc2c
authored
Mar 18, 2013
by
Davis King
Browse files
Slightly changed unit test to avoid false alarms.
parent
c90e8658
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/test/svm_c_linear_dcd.cpp
dlib/test/svm_c_linear_dcd.cpp
+1
-1
No files found.
dlib/test/svm_c_linear_dcd.cpp
View file @
1b3fbc2c
...
...
@@ -161,7 +161,7 @@ namespace
DLIB_TEST
(
std
::
abs
(
df2
.
basis_vectors
(
0
)(
9
))
<
1e-7
);
DLIB_TEST_MSG
(
max
(
abs
(
colm
(
df
.
basis_vectors
(
0
),
0
,
9
)
-
colm
(
df2
.
basis_vectors
(
0
),
0
,
9
)))
<
1e-6
,
max
(
abs
(
colm
(
df
.
basis_vectors
(
0
),
0
,
9
)
-
colm
(
df2
.
basis_vectors
(
0
),
0
,
9
))));
DLIB_TEST
(
std
::
abs
(
df
.
basis_vectors
(
0
)(
9
)
-
df2
.
b
)
<
1e-
7
);
DLIB_TEST
(
std
::
abs
(
df
.
basis_vectors
(
0
)(
9
)
-
df2
.
b
)
<
1e-
6
);
DLIB_TEST
(
max
(
abs
(
df
.
basis_vectors
(
0
)
-
df3
.
basis_vectors
(
0
)))
<
1e-6
);
DLIB_TEST
(
std
::
abs
(
df
.
b
-
df3
.
b
)
<
1e-7
);
}
...
...
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