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
30ca8b42
Commit
30ca8b42
authored
Aug 24, 2017
by
Davis King
Browse files
Fully qualified boost::python::list to hopefully avoid compiler errors in some environments.
parent
faa75fa9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tools/python/src/other.cpp
tools/python/src/other.cpp
+2
-2
No files found.
tools/python/src/other.cpp
View file @
30ca8b42
...
...
@@ -53,7 +53,7 @@ void _save_libsvm_formatted_data (
// ----------------------------------------------------------------------------------------
list
_max_cost_assignment
(
boost
::
python
::
list
_max_cost_assignment
(
const
matrix
<
double
>&
cost
)
{
...
...
@@ -69,7 +69,7 @@ list _max_cost_assignment (
double
_assignment_cost
(
const
matrix
<
double
>&
cost
,
const
list
&
assignment
const
boost
::
python
::
list
&
assignment
)
{
return
assignment_cost
(
cost
,
python_list_to_vector
<
long
>
(
assignment
));
...
...
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