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
4c0b8b96
Commit
4c0b8b96
authored
Jan 16, 2021
by
Davis King
Browse files
Fix compiler warning
parent
0871081a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/cuda/cuda_dlib.h
dlib/cuda/cuda_dlib.h
+1
-1
No files found.
dlib/cuda/cuda_dlib.h
View file @
4c0b8b96
...
...
@@ -713,7 +713,7 @@ namespace dlib
for
(
long
i
=
0
;
i
<
subnetwork_output
.
num_samples
();
++
i
,
++
truth
)
{
const
auto
&
t
=
*
truth
;
DLIB_ASSERT
(
t
.
size
()
==
subnetwork_output
.
k
());
DLIB_ASSERT
(
static_cast
<
long
>
(
t
.
size
()
)
==
subnetwork_output
.
k
());
for
(
size_t
j
=
0
;
j
<
t
.
size
();
++
j
)
{
DLIB_ASSERT
(
t
[
j
].
nr
()
==
subnetwork_output
.
nr
());
DLIB_ASSERT
(
t
[
j
].
nc
()
==
subnetwork_output
.
nc
());
...
...
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