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
983bd842
Commit
983bd842
authored
Aug 04, 2017
by
Guolin Ke
Browse files
try to fix #780
parent
73e689b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/LightGBM/utils/common.h
include/LightGBM/utils/common.h
+1
-1
No files found.
include/LightGBM/utils/common.h
View file @
983bd842
...
@@ -324,7 +324,7 @@ inline static std::string ArrayToString(const std::vector<T>& arr, size_t n, cha
...
@@ -324,7 +324,7 @@ inline static std::string ArrayToString(const std::vector<T>& arr, size_t n, cha
template
<
typename
T
,
bool
is_float
>
template
<
typename
T
,
bool
is_float
>
struct
__StringToTHelper
{
struct
__StringToTHelper
{
T
operator
()(
const
std
::
string
&
str
)
const
{
T
operator
()(
const
std
::
string
&
str
)
const
{
return
static_cast
<
T
>
(
std
::
stol
(
str
));
return
static_cast
<
T
>
(
std
::
stol
l
(
str
));
}
}
};
};
...
...
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