diff --git a/samila/functions.py b/samila/functions.py index 312f432..b2d1abd 100644 --- a/samila/functions.py +++ b/samila/functions.py @@ -134,5 +134,5 @@ def is_same_data(data1, data2, precision=10**-5): :type precision: float :return: True if they are the same """ - isSame = map(lambda x, y: abs(x - y) < precision, data1, data2) - return all(isSame) + is_same = map(lambda x, y: abs(x - y) < precision, data1, data2) + return all(is_same)