Skip to content

Commit

Permalink
added support for NetworkModal
Browse files Browse the repository at this point in the history
  • Loading branch information
HutoriHunzu committed Jul 28, 2024
1 parent dd8bf07 commit d8e134b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyEPR/ansys.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def get_setup(self, name=None):

if self.solution_type == "Eigenmode":
return HfssEMSetup(self, name)
elif self.solution_type == "DrivenModal":
elif self.solution_type == "DrivenModal" or self.solution_type == 'HFSS Modal Network':
return HfssDMSetup(self, name)
elif self.solution_type == "DrivenTerminal":
return HfssDTSetup(self, name)
Expand Down Expand Up @@ -3011,7 +3011,7 @@ def __mul__(self, other):
def __rmul__(self, other):
return self * other

def __div__(self, other):
def __truediv__(self, other):
return self._bin_op(other, "/")

def __rdiv__(self, other):
Expand Down

0 comments on commit d8e134b

Please sign in to comment.