Skip to content

Commit

Permalink
feat: remove deprecated _panel_size
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Sep 25, 2024
1 parent a42437c commit 835ffc9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pytential/symbolic/primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
from pymbolic.primitives import make_sym_vector

from pytools.obj_array import make_obj_array, flat_obj_array
from pytools import single_valued, MovedFunctionDeprecationWrapper
from sumpy.kernel import SpatialConstant

from pytential.symbolic.dof_desc import (
Expand Down Expand Up @@ -708,9 +707,6 @@ def _element_size(ambient_dim, dim=None, dofdesc=None):
* QWeight())**(1/dim)


_panel_size = MovedFunctionDeprecationWrapper(_element_size)


def _small_mat_inverse(mat):
m, n = mat.shape
if m != n:
Expand Down Expand Up @@ -1391,6 +1387,8 @@ def __init__(self, target_kernel, source_kernels, densities,
for karg in (kernel.get_args() + kernel.get_source_args()):
kernel_arg_names.add(karg.loopy_arg.name)

from pytools import single_valued

single_valued(kernel.get_base_kernel() for
kernel in (*source_kernels, target_kernel))

Expand Down

0 comments on commit 835ffc9

Please sign in to comment.