Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 14, 2022
1 parent c5efeaa commit f3f6012
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/python/test_f16.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,7 @@ def complex_sqr(z):
def paint(t: float):
for i, j in pixels: # Parallelized over all pixels
c = ti.Vector([-0.8, ti.cos(t) * 0.2], dt=ti.f16)
z = ti.Vector([
i / n - 1, j / n - 0.5
], dt=ti.f16) * 2
z = ti.Vector([i / n - 1, j / n - 0.5], dt=ti.f16) * 2
iterations = 0
while z.norm() < 20 and iterations < 50:
z = complex_sqr(z) + c
Expand Down

0 comments on commit f3f6012

Please sign in to comment.