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
096ab3c8
"tests/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "c8fef62928ca90766f5455de6b3253050b3a24a2"
Commit
096ab3c8
authored
Mar 16, 2017
by
Davis King
Browse files
Removed use of const_temp_matrix here because it prevents binding to BLAS.
parent
4f0899a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
dlib/optimization/optimization_solve_qp_using_smo.h
dlib/optimization/optimization_solve_qp_using_smo.h
+2
-5
No files found.
dlib/optimization/optimization_solve_qp_using_smo.h
View file @
096ab3c8
...
@@ -412,8 +412,8 @@ namespace dlib
...
@@ -412,8 +412,8 @@ namespace dlib
typename
T
,
long
NR
,
long
NC
,
typename
MM
,
typename
L
typename
T
,
long
NR
,
long
NC
,
typename
MM
,
typename
L
>
>
unsigned
long
solve_qp_box_constrained
(
unsigned
long
solve_qp_box_constrained
(
const
matrix_exp
<
EXP1
>&
_
Q
,
const
matrix_exp
<
EXP1
>&
Q
,
const
matrix_exp
<
EXP2
>&
_
b
,
const
matrix_exp
<
EXP2
>&
b
,
matrix
<
T
,
NR
,
NC
,
MM
,
L
>&
alpha
,
matrix
<
T
,
NR
,
NC
,
MM
,
L
>&
alpha
,
const
matrix
<
T
,
NR
,
NC
,
MM
,
L
>&
lower
,
const
matrix
<
T
,
NR
,
NC
,
MM
,
L
>&
lower
,
const
matrix
<
T
,
NR
,
NC
,
MM
,
L
>&
upper
,
const
matrix
<
T
,
NR
,
NC
,
MM
,
L
>&
upper
,
...
@@ -421,9 +421,6 @@ namespace dlib
...
@@ -421,9 +421,6 @@ namespace dlib
unsigned
long
max_iter
unsigned
long
max_iter
)
)
{
{
const_temp_matrix
<
EXP1
>
Q
(
_Q
);
const_temp_matrix
<
EXP2
>
b
(
_b
);
// make sure requires clause is not broken
// make sure requires clause is not broken
DLIB_ASSERT
(
Q
.
nr
()
==
Q
.
nc
()
&&
DLIB_ASSERT
(
Q
.
nr
()
==
Q
.
nc
()
&&
alpha
.
size
()
==
lower
.
size
()
&&
alpha
.
size
()
==
lower
.
size
()
&&
...
...
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