Skip to content

Commit caca4c2

Browse files
committed
Use variable
1 parent d7dbe51 commit caca4c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/assemble_matrix.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,7 @@ void assemble_matrix_impl(
603603
or a.needs_facet_permutations();
604604
std::span<const std::uint32_t> cell_info0;
605605
std::span<const std::uint32_t> cell_info1;
606-
if (element0->needs_dof_transformations()
607-
or element1->needs_dof_transformations() or a.needs_facet_permutations())
606+
if (needs_transformation_data)
608607
{
609608
mesh0->topology_mutable()->create_entity_permutations();
610609
mesh1->topology_mutable()->create_entity_permutations();

0 commit comments

Comments
 (0)