Commit 30ca8b42 authored by Davis King's avatar Davis King

Fully qualified boost::python::list to hopefully avoid compiler errors in some environments.

parent faa75fa9
...@@ -53,7 +53,7 @@ void _save_libsvm_formatted_data ( ...@@ -53,7 +53,7 @@ void _save_libsvm_formatted_data (
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
list _max_cost_assignment ( boost::python::list _max_cost_assignment (
const matrix<double>& cost const matrix<double>& cost
) )
{ {
...@@ -69,7 +69,7 @@ list _max_cost_assignment ( ...@@ -69,7 +69,7 @@ list _max_cost_assignment (
double _assignment_cost ( double _assignment_cost (
const matrix<double>& cost, const matrix<double>& cost,
const list& assignment const boost::python::list& assignment
) )
{ {
return assignment_cost(cost, python_list_to_vector<long>(assignment)); return assignment_cost(cost, python_list_to_vector<long>(assignment));
......
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