Skip to content

Commit

Permalink
examples: Fix for deterministic output
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Dec 12, 2023
1 parent f9759ae commit afc0612
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/compiler/01_data_regions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@
],
"source": [
"u_pad = TimeFunction(name='u_pad', grid=grid, space_order=2, padding=(0,2,2))\n",
"u_pad._data_allocated[:] = 0\n",
"u_pad.data_with_halo[:] = 1\n",
"u_pad.data[:] = 2\n",
"equation = Eq(u_pad.forward, u_pad + 2)\n",
Expand Down

0 comments on commit afc0612

Please sign in to comment.