Skip to content

Commit

Permalink
optimization error hint for top range
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxxoo committed Apr 28, 2021
1 parent bd65f85 commit 088d2a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public static class Step {
public Step(HugeGraph g, Directions direction, List<String> labels,
long degree, long skipDegree, int top, int capacity) {
E.checkArgument(top > 0 && top <= MAX_TOP,
"The top of each layer can't exceed %s", MAX_TOP);
"The top of each layer muse be in (0, %s]", MAX_TOP);
E.checkArgument(capacity > 0,
"The capacity of each layer must be > 0, " +
"but got %s", capacity);
Expand Down

0 comments on commit 088d2a8

Please sign in to comment.