Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
BullDemonKing committed Dec 9, 2018
1 parent 9f3adf4 commit fc5f3e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operator/contrib/dgl_graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,8 @@ static void SampleSubgraph(const NDArray &csr,
// Let's check if there is a vertex that we haven't sampled its neighbors.
for (; idx < sub_vers.size(); idx++) {
if (sub_vers[idx].second < num_hops) {
LOG(WARNING) << "The sampling is truncated because we have reached the max number of vertices\n"
LOG(WARNING)
<< "The sampling is truncated because we have reached the max number of vertices\n"
<< "Please use a smaller number of seeds or a small neighborhood";
break;
}
Expand Down

0 comments on commit fc5f3e2

Please sign in to comment.