summaryrefslogtreecommitdiffstatshomepage
path: root/tests/perf_bench/bm_chaos.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/perf_bench/bm_chaos.py')
-rw-r--r--tests/perf_bench/bm_chaos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/perf_bench/bm_chaos.py b/tests/perf_bench/bm_chaos.py
index 55d282561f..d0f1337db7 100644
--- a/tests/perf_bench/bm_chaos.py
+++ b/tests/perf_bench/bm_chaos.py
@@ -15,7 +15,7 @@ class GVector(object):
self.z = z
def Mag(self):
- return math.sqrt(self.x ** 2 + self.y ** 2 + self.z ** 2)
+ return math.sqrt(self.x**2 + self.y**2 + self.z**2)
def dist(self, other):
return math.sqrt(