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
tianlh
LightGBM-DCU
Commits
6ba84d54
Unverified
Commit
6ba84d54
authored
Apr 01, 2020
by
Ilya Matiach
Committed by
GitHub
Apr 01, 2020
Browse files
[SWIG][mmlspark] fix seg fault in LGBM_BoosterGetEvalNamesSWIG (#2958)
parent
dbc3d05c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
swig/StringArray_API_extensions.i
swig/StringArray_API_extensions.i
+1
-1
No files found.
swig/StringArray_API_extensions.i
View file @
6ba84d54
...
...
@@ -50,7 +50,7 @@
API_OK_OR_NULL
(
LGBM_BoosterGetEvalNames
(
handle
,
0
,
&
eval_counts,
0
,
&
string_size,
strings-
>
data
()
))
;
nullptr
))
;
try
{
strings
.
reset
(
new
StringArray
(
eval_counts
,
string_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