Skip to content

Commit c53d2d0

Browse files
authored
Update lib.py
1 parent c2d5bcc commit c53d2d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

linear_algebra/src/lib.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,7 @@ def angle(self, other: Vector, deg: bool = False) -> float:
185185

186186
def __eq__(self, vector: Vector) -> bool:
187187
"""
188-
returns True if the given vector is equal to the current vector, else False
189-
the vectors are considered equal if they have the same length and corresponding components are equal
188+
performs the comparison between two vectors
190189
"""
191190
if len(self) != len(vector):
192191
return False

0 commit comments

Comments
 (0)