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
addb19d3
Commit
addb19d3
authored
Jan 03, 2017
by
Davis King
Browse files
Initialized exception_ptr since some systems, incorrectly, don't initialize it automatically.
parent
8d764230
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/dnn/trainer.h
dlib/dnn/trainer.h
+1
-1
No files found.
dlib/dnn/trainer.h
View file @
addb19d3
...
@@ -1059,7 +1059,7 @@ namespace dlib
...
@@ -1059,7 +1059,7 @@ namespace dlib
long
lr_schedule_pos
;
long
lr_schedule_pos
;
unsigned
long
gradient_check_budget
;
unsigned
long
gradient_check_budget
;
std
::
exception_ptr
eptr
;
std
::
exception_ptr
eptr
=
nullptr
;
mutable
std
::
mutex
eptr_mutex
;
mutable
std
::
mutex
eptr_mutex
;
void
propagate_exception
()
const
void
propagate_exception
()
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