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
f1d4e449
Commit
f1d4e449
authored
Oct 25, 2019
by
Nikita Titov
Committed by
James Lamb
Oct 25, 2019
Browse files
fixed casting warning (#2523)
parent
85be04a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/io/dataset_loader.cpp
src/io/dataset_loader.cpp
+1
-1
No files found.
src/io/dataset_loader.cpp
View file @
f1d4e449
...
@@ -981,7 +981,7 @@ void DatasetLoader::ConstructBinMappersFromTextData(int rank, int num_machines,
...
@@ -981,7 +981,7 @@ void DatasetLoader::ConstructBinMappersFromTextData(int rank, int num_machines,
bin_type
=
BinType
::
CategoricalBin
;
bin_type
=
BinType
::
CategoricalBin
;
}
}
bin_mappers
[
i
].
reset
(
new
BinMapper
());
bin_mappers
[
i
].
reset
(
new
BinMapper
());
if
(
sample_values
.
size
()
<=
start
[
rank
]
+
i
)
{
if
(
static_cast
<
int
>
(
sample_values
.
size
()
)
<=
start
[
rank
]
+
i
)
{
continue
;
continue
;
}
}
if
(
config_
.
max_bin_by_feature
.
empty
())
{
if
(
config_
.
max_bin_by_feature
.
empty
())
{
...
...
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