Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
havogt committed Jan 15, 2024
1 parent c670872 commit 90ac591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
13 changes: 1 addition & 12 deletions examples/lap_cartesian_vs_next.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,7 @@
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/vogtha/git/gt4py/src/gt4py/cartesian/stencil_object.py:420: UserWarning: The layout of the field 'inp' is not recommended for this backend.This may lead to performance degradation. Please consider using theprovided allocators in `gt4py.storage`.\n",
" warnings.warn(\n",
"/home/vogtha/git/gt4py/src/gt4py/cartesian/stencil_object.py:420: UserWarning: The layout of the field 'out' is not recommended for this backend.This may lead to performance degradation. Please consider using theprovided allocators in `gt4py.storage`.\n",
" warnings.warn(\n"
]
}
],
"outputs": [],
"source": [
"import gt4py.cartesian.gtscript as gtscript\n",
"\n",
Expand Down
4 changes: 1 addition & 3 deletions src/gt4py/next/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 +596,7 @@ def __gt_dims__(self) -> tuple[str, ...]:


@extended_runtime_checkable
class Field(
GTFieldInterface, Protocol[DimsT, core_defs.ScalarT]
):
class Field(GTFieldInterface, Protocol[DimsT, core_defs.ScalarT]):
__gt_builtin_func__: ClassVar[GTBuiltInFuncDispatcher]

@property
Expand Down

0 comments on commit 90ac591

Please sign in to comment.