Skip to content

Commit

Permalink
[fix] dangling ti.func decorator in euler.py (#4492)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifer1004 authored Mar 9, 2022
1 parent 89a4ddb commit a2714dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/taichi/examples/simulation/euler.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,7 @@ def sign(a):
return sgn


ti.func


@ti.func
def cosh(a):
return (ti.exp(a) + ti.exp(-a)) / 2.0

Expand Down

0 comments on commit a2714dc

Please sign in to comment.