From 3e3ff7def1fe4a4d3fae05cca1e850dd251b7671 Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Fri, 10 May 2024 02:19:03 -0500 Subject: [PATCH] remove type instability for PhysicalFrame basis --- src/cut_cell_meshes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cut_cell_meshes.jl b/src/cut_cell_meshes.jl index a378e8cf..6a54febd 100644 --- a/src/cut_cell_meshes.jl +++ b/src/cut_cell_meshes.jl @@ -506,7 +506,7 @@ vertices of cut cells and the background cell location. """ function construct_physical_frame_elements(region_flags, vx, vy, cutcells) - physical_frame_elements = PhysicalFrame{2}[] # populate this as we iterate through cut cells + physical_frame_elements = typeof(PhysicalFrame())[] # populate this as we iterate through cut cells e = 1 for ex in axes(region_flags, 1), ey in axes(region_flags, 2) if StartUpDG.is_cut(region_flags[ex, ey])