Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
CLS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidy committed Feb 1, 2021
1 parent 937cfc6 commit 8b5f50e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/wiz_light/vec.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def vecLenSq(a):
return vecDot(a, a)


def vecLen(cls, a) -> float:
def vecLen(a) -> float:
"""Retrun Square length."""
lenSq = cls.vecLenSq(a)
lenSq = vecLenSq(a)
return sqrt(lenSq) if (lenSq > EPSILON) else 0


Expand Down

0 comments on commit 8b5f50e

Please sign in to comment.