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
7d25c253
Commit
7d25c253
authored
Nov 06, 2016
by
Qiwei Ye
Browse files
fix log
parent
572cc07b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/io/dataset.cpp
src/io/dataset.cpp
+2
-1
No files found.
src/io/dataset.cpp
View file @
7d25c253
...
...
@@ -197,7 +197,8 @@ void Dataset::LoadDataToMemory(int rank, int num_machines, bool is_pre_partition
[
this
,
rank
,
num_machines
,
&
qid
,
&
query_boundaries
,
&
is_query_used
,
num_queries
]
(
data_size_t
line_idx
)
{
if
(
qid
>=
num_queries
)
{
Log
::
Fatal
(
"Current query is exceed the range of query file, please ensure your query file is correct"
);
Log
::
Fatal
(
"Current query exceed the range of query file, \
please ensure your query file is correct"
);
}
if
(
line_idx
>=
query_boundaries
[
qid
+
1
])
{
// if is new query
...
...
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