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
6c34e655
Commit
6c34e655
authored
Mar 27, 2014
by
Davis King
Browse files
Changed oca code so the prior vector can be the same object as the w vector.
parent
4ee56cb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/optimization/optimization_oca.h
dlib/optimization/optimization_oca.h
+1
-1
No files found.
dlib/optimization/optimization_oca.h
View file @
6c34e655
...
@@ -152,7 +152,7 @@ namespace dlib
...
@@ -152,7 +152,7 @@ namespace dlib
typename
matrix_type
::
type
oca_impl
(
typename
matrix_type
::
type
oca_impl
(
const
oca_problem
<
matrix_type
>&
problem
,
const
oca_problem
<
matrix_type
>&
problem
,
matrix_type
&
w
,
matrix_type
&
w
,
const
matrix_type
&
prior
,
const
matrix_type
prior
,
bool
have_prior
,
bool
have_prior
,
unsigned
long
num_nonnegative
,
unsigned
long
num_nonnegative
,
unsigned
long
force_weight_to_1
unsigned
long
force_weight_to_1
...
...
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