Skip to content

Commit

Permalink
fix issues flagged by mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Aug 5, 2024
1 parent 1d351c0 commit c7d0be9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pytential/qbx/refinement.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,8 @@ def _visualize_refinement(actx: PyOpenCLArrayContext, discr,

element_nr_base += meg.nelements

nodes_flags = DOFArray(actx, tuple(nodes_flags))
vis_data = [
("refine_flags", nodes_flags),
("refine_flags", DOFArray(actx, tuple(nodes_flags))),
]

if 0:
Expand Down
2 changes: 1 addition & 1 deletion test/extra_int_eq_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class IntegralEquationTestCase:
target_order: Optional[int] = None
use_refinement: bool = True
group_cls: Type[MeshElementGroup] = SimplexElementGroup
group_factory_cls: ElementGroupFactory = InterpolatoryQuadratureGroupFactory
group_factory_cls: Type[ElementGroupFactory] = InterpolatoryQuadratureGroupFactory

# fmm
fmm_backend: Optional[str] = "sumpy"
Expand Down

0 comments on commit c7d0be9

Please sign in to comment.