"benchmarks/git@developer.sourcefind.cn:OpenDAS/fairscale.git" did not exist on "cbeda8302da0a05259d4d8f3d7c36b5cbd478dd4"
Commit 97c8bfca authored by Davis King's avatar Davis King
Browse files

Fixed bugs in asserts.

parent 51491c8c
......@@ -154,7 +154,7 @@ namespace dlib
{
// make sure requires clause is not broken
DLIB_ASSERT(scanner_.get_num_detection_templates() > 0 &&
w_.size() == scanner.get_num_dimensions() + 1,
w_.size() == scanner_.get_num_dimensions() + 1,
"\t object_detector::object_detector(scanner_,overlap_tester,w_)"
<< "\n\t Invalid inputs were given to this function "
<< "\n\t scanner_.get_num_detection_templates(): " << scanner_.get_num_detection_templates()
......
......@@ -130,6 +130,8 @@ namespace dlib
>
struct array_subset_helper
{
typedef typename array_type::mem_manager_type mem_manager_type;
array_subset_helper (
const array_type& array_,
const std::vector<unsigned long>& idx_set_
......
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