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
d5c2c556
Unverified
Commit
d5c2c556
authored
Apr 27, 2021
by
Chen Yufei
Committed by
GitHub
Apr 26, 2021
Browse files
Fix typo in binary file already exists error message. (#4231)
parent
5014f19f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/io/dataset.cpp
src/io/dataset.cpp
+1
-1
No files found.
src/io/dataset.cpp
View file @
d5c2c556
...
...
@@ -932,7 +932,7 @@ bool Dataset::GetIntField(const char* field_name, data_size_t* out_len,
void
Dataset
::
SaveBinaryFile
(
const
char
*
bin_filename
)
{
if
(
bin_filename
!=
nullptr
&&
std
::
string
(
bin_filename
)
==
data_filename_
)
{
Log
::
Warning
(
"Bi
a
nry file %s already exists"
,
bin_filename
);
Log
::
Warning
(
"Bin
a
ry file %s already exists"
,
bin_filename
);
return
;
}
// if not pass a filename, just append ".bin" of original file
...
...
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