Skip to content

Commit eecc271

Browse files
fix: fix assert
1 parent fd6fa6b commit eecc271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphgen/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def main():
8383
)
8484
assert (
8585
config["partition"]["method"] == "ece"
86-
and "ece_params" in config["partition"]
86+
and "method_params" in config["partition"]
8787
), "Only ECE partition with edge sampling is supported."
8888
config["partition"]["method_params"]["edge_sampling"] = "random"
8989
elif mode == "cot":

0 commit comments

Comments
 (0)