Skip to content

Commit

Permalink
fix: change annotations 'tuple' to 'Tuple'
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-adir committed Mar 5, 2024
1 parent cb5dffd commit a1a52c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compmec/section/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ def momentums(self):
return self.__charges[3:]

@forces.setter
def forces(self, new_forces: tuple[float]):
def forces(self, new_forces: Tuple[float]):
self.__charges[:3] = new_forces

@momentums.setter
def momentums(self, new_momentums: tuple[float]):
def momentums(self, new_momentums: Tuple[float]):
self.__charges[3:] = new_momentums

def __stress_axial(self, winds):
Expand Down

0 comments on commit a1a52c8

Please sign in to comment.