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
eaf568f9
Commit
eaf568f9
authored
Feb 10, 2014
by
Lukas
Browse files
Prevent static assert for set_size on gradient in compute_nuclear_norm_parts()
parent
2ba3c4d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/svm/structural_svm_problem.h
dlib/svm/structural_svm_problem.h
+1
-1
No files found.
dlib/svm/structural_svm_problem.h
View file @
eaf568f9
...
...
@@ -550,7 +550,7 @@ namespace dlib
)
const
{
obj
=
0
;
grad
.
set_size
(
m
.
size
());
grad
.
set_size
(
m
.
size
()
,
1
);
grad
=
0
;
matrix
<
double
>
u
,
v
,
w
,
f
;
...
...
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