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
dc9db580
"...git@developer.sourcefind.cn:OpenDAS/pytorch3d.git" did not exist on "1b0584f7bd2bbf0d6a2e5563a8c530d62f2338ba"
Commit
dc9db580
authored
Dec 28, 2012
by
Davis King
Browse files
merged
parents
658927b3
c6df93f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
dlib/assert.h
dlib/assert.h
+3
-1
dlib/test/svm_c_linear_dcd.cpp
dlib/test/svm_c_linear_dcd.cpp
+1
-1
No files found.
dlib/assert.h
View file @
dc9db580
...
@@ -56,7 +56,9 @@ namespace dlib
...
@@ -56,7 +56,9 @@ namespace dlib
#if !defined(DLIB_DISABLE_ASSERTS) && ( defined DEBUG || defined _DEBUG)
#if !defined(DLIB_DISABLE_ASSERTS) && ( defined DEBUG || defined _DEBUG)
// make sure ENABLE_ASSERTS is defined if we are indeed using them.
// make sure ENABLE_ASSERTS is defined if we are indeed using them.
#define ENABLE_ASSERTS
#ifndef ENABLE_ASSERTS
#define ENABLE_ASSERTS
#endif
#endif
#endif
// -----------------------------
// -----------------------------
...
...
dlib/test/svm_c_linear_dcd.cpp
View file @
dc9db580
...
@@ -314,7 +314,7 @@ namespace
...
@@ -314,7 +314,7 @@ namespace
rs
.
add
(
labels
[
k
]
*
df
(
samples
[
k
]));
rs
.
add
(
labels
[
k
]
*
df
(
samples
[
k
]));
}
}
}
}
DLIB_TEST_MSG
(
std
::
abs
(
rs
.
min
()
-
1
)
<
1e-
7
,
std
::
abs
(
rs
.
min
()
-
1
));
DLIB_TEST_MSG
(
std
::
abs
(
rs
.
min
()
-
1
)
<
1e-
6
,
std
::
abs
(
rs
.
min
()
-
1
));
}
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
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