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 59146b4 commit 7d029ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/tutorial12/tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@
" self.nu = nu \n",
" \n",
" def equation(input_, output_):\n",
" return grad(output_, input_, d='x') +\\\n",
" output_*grad(output_, input_, d='t') -\\\n",
" return grad(output_, input_, d='t') +\\\n",
" output_*grad(output_, input_, d='x') -\\\n",
" self.nu*laplacian(output_, input_, d='x')\n",
"\n",
" \n",
Expand Down

0 comments on commit 7d029ba

Please sign in to comment.