Commit 76d5bba6 authored by Davis King's avatar Davis King

Fixed compiler warnings

parent 3586d409
...@@ -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();
} }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment