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
76d5bba6
Commit
76d5bba6
authored
Oct 26, 2016
by
Davis King
Browse files
Fixed compiler warnings
parent
3586d409
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dlib/dnn/tensor.h
dlib/dnn/tensor.h
+4
-4
No files found.
dlib/dnn/tensor.h
View file @
76d5bba6
...
@@ -197,10 +197,10 @@ namespace dlib
...
@@ -197,10 +197,10 @@ namespace dlib
const
tensor
&
t
const
tensor
&
t
)
)
{
{
return
t
.
size
()
==
t
.
num_samples
()
||
return
t
.
size
()
==
(
size_t
)
t
.
num_samples
()
||
t
.
size
()
==
t
.
k
()
||
t
.
size
()
==
(
size_t
)
t
.
k
()
||
t
.
size
()
==
t
.
nr
()
||
t
.
size
()
==
(
size_t
)
t
.
nr
()
||
t
.
size
()
==
t
.
nc
();
t
.
size
()
==
(
size_t
)
t
.
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