"vscode:/vscode.git/clone" did not exist on "308e6451f09610a92fba8a824cc4770377b84618"
Commit 97df0684 authored by Guolin Ke's avatar Guolin Ke
Browse files

bug fix in get_group

parent a495a877
......@@ -123,7 +123,7 @@ bool Dataset::GetIntField(const char* field_name, int64_t* out_len, const int**
name = Common::Trim(name);
if (name == std::string("query") || name == std::string("group")) {
*out_ptr = metadata_.query_boundaries();
*out_len = metadata_.num_queries();
*out_len = metadata_.num_queries() + 1;
} else {
return false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment