[Lib] Fix the bug in repack design constraint parser

This commit is contained in:
tangxifan 2021-01-17 10:39:55 -07:00
parent dd74f05a31
commit 113119bd8e
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ RepackDesignConstraints read_xml_repack_design_constraints(const char* design_co
try {
loc_data = pugiutil::load_xml(doc, design_constraint_fname);
pugi::xml_node xml_root = get_single_child(doc, "repack_design_constraint", loc_data);
pugi::xml_node xml_root = get_single_child(doc, "repack_design_constraints", loc_data);
size_t num_design_constraints = std::distance(xml_root.children().begin(), xml_root.children().end());
/* Reserve memory space for the region */