Skip to content

Commit 95dd84c

Browse files
authored
Merge pull request #9052 from gadfort/place_inst
ord: dont index into name
2 parents 0bbb4a0 + 9b058ad commit 95dd84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenRoad.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ proc place_inst { args } {
430430
}
431431

432432
if { [info exists keys(-name)] } {
433-
set inst_name [lindex $keys(-name) 0]
433+
set inst_name $keys(-name)
434434
} else {
435435
utl::error ORD 57 "-name is a required argument to the place_cell command."
436436
}

0 commit comments

Comments
 (0)