Skip to content

Commit

Permalink
remove type instability for PhysicalFrame basis
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchan committed May 10, 2024
1 parent d2d26c9 commit 3e3ff7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cut_cell_meshes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 3e3ff7d

Please sign in to comment.