Skip to content

Commit

Permalink
Coordinate.zero static instead of class method
Browse files Browse the repository at this point in the history
  • Loading branch information
rickwierenga committed Sep 18, 2024
1 parent e5bb249 commit 515c8a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylabrobot/resources/coordinate.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def __post_init__(self):
self.y = round(self.y, 4)
self.z = round(self.z, 4)

@classmethod
def zero(cls) -> Coordinate:
@staticmethod
def zero() -> Coordinate:
return Coordinate(0, 0, 0)

def __add__(self, other) -> Coordinate:
Expand Down

0 comments on commit 515c8a0

Please sign in to comment.