Commit 091d441c authored by Davis King's avatar Davis King

fixed compiler error

parent 4f0c2ba0
......@@ -296,7 +296,7 @@ namespace dlib
int device
)
{
DLIB_CASSERT(id == 0, "dlib::cuda::set_device(id) called with an invalid device id.");
DLIB_CASSERT(device == 0, "dlib::cuda::set_device(id) called with an invalid device id.");
return "CUDA_DISABLED";
}
......
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