Skip to content

Commit

Permalink
fixed some typos (#1392)
Browse files Browse the repository at this point in the history
missing 'c' in eulidianLength and eulidian. Should be euclidianLength and euclidian.
  • Loading branch information
Iqrar99 authored and cclauss committed Oct 18, 2019
1 parent 8366782 commit 86a2d5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions linear_algebra/src/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Vector(object):
__str__() : toString method
component(i : int): gets the i-th component (start by 0)
__len__() : gets the size of the vector (number of components)
euclidLength() : returns the eulidean length of the vector.
euclidLength() : returns the euclidean length of the vector.
operator + : vector addition
operator - : vector subtraction
operator * : scalar multiplication and dot product
Expand Down Expand Up @@ -88,9 +88,9 @@ def __len__(self):
"""
return len(self.__components)

def eulidLength(self):
def euclidLength(self):
"""
returns the eulidean length of the vector
returns the euclidean length of the vector
"""
summe = 0
for c in self.__components:
Expand Down

0 comments on commit 86a2d5f

Please sign in to comment.