Skip to content

Commit e07038f

Browse files
JordiManyerCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 47318d9 commit e07038f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Pullbacks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function FESpaces.compute_cell_bases_changes(
8686
::ReferenceFEName, ::CoVariantPiolaMap, model::DistributedDiscreteModel, cell_reffe, cell_Jt
8787
)
8888
D = num_cell_dims(model)
89-
poly = only(getany(map(get_polytopes, model)))
89+
poly = map(get_polytopes, local_views(model)) |> getany |> only
9090
if (D==2) || is_simplex(poly)
9191
# For these cases, we do not need to apply a sign flip
9292
return nothing

0 commit comments

Comments
 (0)