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
5c9307ea
Commit
5c9307ea
authored
Apr 20, 2013
by
Davis King
Browse files
Minor change to avoid a compiler error in visual studio.
parent
5d734cb1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/image_processing/scan_image_boxes.h
dlib/image_processing/scan_image_boxes.h
+2
-2
No files found.
dlib/image_processing/scan_image_boxes.h
View file @
5c9307ea
...
...
@@ -209,7 +209,7 @@ namespace dlib
for
(
unsigned
int
l
=
1
;
l
<=
num_spatial_pyramid_levels
;
++
l
)
{
const
int
cells
=
(
int
)
std
::
pow
(
2.0
,
l
-
1
);
const
int
cells
=
(
int
)
std
::
pow
(
2.0
,
l
-
1
.0
);
add_grid_rects
(
regions
,
rect
,
cells
,
cells
);
}
}
...
...
@@ -217,7 +217,7 @@ namespace dlib
unsigned
int
get_num_components_per_detection_template
(
)
const
{
return
(
unsigned
int
)(
std
::
pow
(
4.0
,
num_spatial_pyramid_levels
)
-
1
)
/
3
;
return
(
unsigned
int
)(
std
::
pow
(
4.0
,
(
double
)
num_spatial_pyramid_levels
)
-
1
)
/
3
;
}
feature_extractor_type
feats
;
...
...
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