Skip to content

Commit 03d5aa9

Browse files
committed
[Circuit] Add missing return statement
1 parent 822ddd1 commit 03d5aa9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

magma/interface.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ def __iadd__(self, other: 'IO') -> 'IO':
496496
if self._ports.keys() & other._ports.keys():
497497
raise Exception("Adding IO with duplicate port names not allowed")
498498
self._ports.update(other._ports)
499+
return self
499500

500501
def _add(self, name, typ):
501502
if self._bound:

0 commit comments

Comments
 (0)