Skip to content

Commit

Permalink
fix derivatives
Browse files Browse the repository at this point in the history
  • Loading branch information
HGangloff authored Dec 9, 2024
1 parent f4e1f40 commit 59146b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/tutorial12/tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, nu = 0.):
self.nu = nu

def equation(input_, output_):
return grad(output_, input_, d='x') + output_*grad(output_, input_, d='t') - self.nu*laplacian(output_, input_, d='x')
return grad(output_, input_, d='t') + output_*grad(output_, input_, d='x') - self.nu*laplacian(output_, input_, d='x')


super().__init__(equation)
Expand Down

0 comments on commit 59146b4

Please sign in to comment.