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
8d217377
Commit
8d217377
authored
Jan 26, 2013
by
Davis King
Browse files
Fixed a bug introduced yesterday
parent
e8d69f89
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 @
8d217377
...
@@ -245,7 +245,7 @@ namespace dlib
...
@@ -245,7 +245,7 @@ namespace dlib
// copy planes into a matrix so we can call solve_qp4_using_smo()
// copy planes into a matrix so we can call solve_qp4_using_smo()
matrix
<
scalar_type
,
0
,
0
,
mem_manager_type
,
layout_type
>
planes_mat
(
num_nonnegative
,
planes
.
size
());
matrix
<
scalar_type
,
0
,
0
,
mem_manager_type
,
layout_type
>
planes_mat
(
num_nonnegative
,
planes
.
size
());
for
(
unsigned
long
i
=
0
;
i
<
planes
.
size
();
++
i
)
for
(
unsigned
long
i
=
0
;
i
<
planes
.
size
();
++
i
)
set_
row
m
(
planes_mat
,
i
)
=
row
m
(
planes
[
i
],
0
,
num_nonnegative
);
set_
col
m
(
planes_mat
,
i
)
=
col
m
(
planes
[
i
],
0
,
num_nonnegative
);
solve_qp4_using_smo
(
planes_mat
,
K
,
mat
(
bs
),
alpha
,
eps
,
sub_max_iter
);
solve_qp4_using_smo
(
planes_mat
,
K
,
mat
(
bs
),
alpha
,
eps
,
sub_max_iter
);
}
}
...
...
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