Skip to content

Commit

Permalink
pull from self
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Nov 10, 2024
1 parent 6a22455 commit 7964472
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hvcc/core/hv2ir/HLangAdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(
assert obj_type == "adc"
super().__init__(obj_type, args, graph,
num_inlets=0,
num_outlets=len(args[HeavyLangObject._HEAVY_LANG_DICT.root[obj_type].args[0].name]),
num_outlets=len(args[self._HEAVY_LANG_DICT.root[obj_type].args[0].name]),
annotations=annotations)

def _resolved_outlet_type(self, outlet_index: int = 0) -> str:
Expand Down
2 changes: 1 addition & 1 deletion hvcc/core/hv2ir/HLangDac.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(
) -> None:
assert obj_type == "dac"
super().__init__(obj_type, args, graph,
num_inlets=len(args[HeavyLangObject._HEAVY_LANG_DICT.root[obj_type].args[0].name]),
num_inlets=len(args[self._HEAVY_LANG_DICT.root[obj_type].args[0].name]),
num_outlets=0,
annotations=annotations)

Expand Down
2 changes: 1 addition & 1 deletion hvcc/core/hv2ir/HLangSequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(
annotations: Optional[Dict] = None
) -> None:
# get the number of outlets that this object has
num_outlets = len(args[HeavyLangObject._HEAVY_LANG_DICT.root[obj_type].args[0].name])
num_outlets = len(args[self._HEAVY_LANG_DICT.root[obj_type].args[0].name])
super().__init__(obj_type, args, graph,
num_inlets=1,
num_outlets=num_outlets,
Expand Down

0 comments on commit 7964472

Please sign in to comment.