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
567f63ec
Commit
567f63ec
authored
Apr 26, 2017
by
Guolin Ke
Browse files
fix #461 .
parent
ef408f55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/io/sparse_bin.hpp
src/io/sparse_bin.hpp
+2
-0
No files found.
src/io/sparse_bin.hpp
View file @
567f63ec
...
...
@@ -333,6 +333,8 @@ public:
void
CopySubset
(
const
Bin
*
full_bin
,
const
data_size_t
*
used_indices
,
data_size_t
num_used_indices
)
override
{
auto
other_bin
=
dynamic_cast
<
const
SparseBin
<
VAL_T
>*>
(
full_bin
);
deltas_
.
clear
();
vals_
.
clear
();
data_size_t
start
=
0
;
if
(
num_used_indices
>
0
)
{
start
=
used_indices
[
0
];
...
...
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