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
a8dc0325
Unverified
Commit
a8dc0325
authored
Nov 14, 2019
by
James Lamb
Committed by
GitHub
Nov 14, 2019
Browse files
[ci] fixed cpplint warning about parenthesis placement (#2563)
parent
41c366ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/LightGBM/utils/common.h
include/LightGBM/utils/common.h
+2
-1
No files found.
include/LightGBM/utils/common.h
View file @
a8dc0325
...
@@ -411,7 +411,8 @@ struct __TToStringHelperFast<T, true, false> {
...
@@ -411,7 +411,8 @@ struct __TToStringHelperFast<T, true, false> {
#ifdef _MSC_VER
#ifdef _MSC_VER
buf_len
buf_len
#endif
#endif
)
const
{
)
const
{
#ifdef _MSC_VER
#ifdef _MSC_VER
sprintf_s
(
buffer
,
buf_len
,
"%g"
,
value
);
sprintf_s
(
buffer
,
buf_len
,
"%g"
,
value
);
#else
#else
...
...
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