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
c9bd5309
Commit
c9bd5309
authored
Jan 26, 2013
by
Davis King
Browse files
Added missing const keywords
parent
633a9cdc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dlib/svm/structural_svm_problem.h
dlib/svm/structural_svm_problem.h
+1
-1
dlib/svm/structural_svm_problem_threaded.h
dlib/svm/structural_svm_problem_threaded.h
+3
-3
No files found.
dlib/svm/structural_svm_problem.h
View file @
c9bd5309
...
@@ -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
...
...
dlib/svm/structural_svm_problem_threaded.h
View file @
c9bd5309
...
@@ -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
...
...
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