Skip to content

Commit 86a2d5f

Browse files
Iqrar99cclauss
authored andcommitted
fixed some typos (TheAlgorithms#1392)
missing 'c' in eulidianLength and eulidian. Should be euclidianLength and euclidian.
1 parent 8366782 commit 86a2d5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

linear_algebra/src/lib.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Vector(object):
3737
__str__() : toString method
3838
component(i : int): gets the i-th component (start by 0)
3939
__len__() : gets the size of the vector (number of components)
40-
euclidLength() : returns the eulidean length of the vector.
40+
euclidLength() : returns the euclidean length of the vector.
4141
operator + : vector addition
4242
operator - : vector subtraction
4343
operator * : scalar multiplication and dot product
@@ -88,9 +88,9 @@ def __len__(self):
8888
"""
8989
return len(self.__components)
9090

91-
def eulidLength(self):
91+
def euclidLength(self):
9292
"""
93-
returns the eulidean length of the vector
93+
returns the euclidean length of the vector
9494
"""
9595
summe = 0
9696
for c in self.__components:

0 commit comments

Comments
 (0)