Commit c9bd5309 authored by Davis King's avatar Davis King

Added missing const keywords

parent 633a9cdc
...@@ -349,7 +349,7 @@ namespace dlib ...@@ -349,7 +349,7 @@ namespace dlib
} }
virtual void call_separation_oracle_on_all_samples ( virtual void call_separation_oracle_on_all_samples (
matrix_type& w, const matrix_type& w,
matrix_type& subgradient, matrix_type& subgradient,
scalar_type& total_loss scalar_type& total_loss
) const ) const
......
...@@ -47,7 +47,7 @@ namespace dlib ...@@ -47,7 +47,7 @@ namespace dlib
{ {
binder ( binder (
const structural_svm_problem_threaded& self_, const structural_svm_problem_threaded& self_,
matrix_type& w_, const matrix_type& w_,
matrix_type& subgradient_, matrix_type& subgradient_,
scalar_type& total_loss_, scalar_type& total_loss_,
bool buffer_subgradients_locally_ bool buffer_subgradients_locally_
...@@ -102,7 +102,7 @@ namespace dlib ...@@ -102,7 +102,7 @@ namespace dlib
} }
const structural_svm_problem_threaded& self; const structural_svm_problem_threaded& self;
matrix_type& w; const matrix_type& w;
matrix_type& subgradient; matrix_type& subgradient;
scalar_type& total_loss; scalar_type& total_loss;
bool buffer_subgradients_locally; bool buffer_subgradients_locally;
...@@ -110,7 +110,7 @@ namespace dlib ...@@ -110,7 +110,7 @@ namespace dlib
virtual void call_separation_oracle_on_all_samples ( virtual void call_separation_oracle_on_all_samples (
matrix_type& w, const matrix_type& w,
matrix_type& subgradient, matrix_type& subgradient,
scalar_type& total_loss scalar_type& total_loss
) const ) const
......
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