Skip to content

Commit

Permalink
fixing wrong method reference
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Dec 22, 2023
1 parent 10b4b9e commit 270b29c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansys/mapdl/core/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def logger(self) -> "logging.Logger":
def _comp(self) -> UNDERLYING_DICT:
"""Dictionary with components names and types."""
if self.__comp is None or self._update_always:
self.__comp = self._parse_cmlist()
self.__comp = self._mapdl._parse_cmlist()
return self.__comp

@_comp.setter
Expand Down Expand Up @@ -308,7 +308,7 @@ def __getitem__(self, key: str) -> ITEMS_VALUES:
f"The component named '{key}' does not exist in the MAPDL instance."
)

output = self._parse_cmlist_indiv(key, cmtype)
output = self._mapdl._parse_cmlist_indiv(key, cmtype)
if forced_to_select:
# Unselect to keep the state of the things as before calling this method.
self._mapdl.cmsel("U", key)
Expand Down

0 comments on commit 270b29c

Please sign in to comment.