diff --git a/hvcc/core/hv2ir/HLangAdc.py b/hvcc/core/hv2ir/HLangAdc.py index df6057a..261e74d 100644 --- a/hvcc/core/hv2ir/HLangAdc.py +++ b/hvcc/core/hv2ir/HLangAdc.py @@ -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: diff --git a/hvcc/core/hv2ir/HLangDac.py b/hvcc/core/hv2ir/HLangDac.py index ce7b6f7..a4c02ec 100644 --- a/hvcc/core/hv2ir/HLangDac.py +++ b/hvcc/core/hv2ir/HLangDac.py @@ -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) diff --git a/hvcc/core/hv2ir/HLangSequence.py b/hvcc/core/hv2ir/HLangSequence.py index e2a23ab..cc734f6 100644 --- a/hvcc/core/hv2ir/HLangSequence.py +++ b/hvcc/core/hv2ir/HLangSequence.py @@ -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,