@@ -209,7 +209,9 @@ build_basic_dofmaps(
209
209
local_entity_offsets.back ()
210
210
+ num_entity_dofs * (im->size_local () + im->num_ghosts ()));
211
211
212
- if (d < D and !topology.connectivity ({D, i}, {d, et_index}))
212
+ if (d < D
213
+ and !topology.connectivity ({int (D), int (i)},
214
+ {int (d), int (et_index)}))
213
215
{
214
216
throw std::runtime_error (" Missing needed connectivity. Cell type:"
215
217
+ std::to_string (i)
@@ -280,13 +282,16 @@ build_basic_dofmaps(
280
282
const std::vector<std::vector<int >>& e_dofs_d = entity_dofs[d];
281
283
282
284
// Skip over undefined topology, e.g. quad facets of tetrahedra
283
- if (d < D and !topology.connectivity ({D, i}, {d, et}))
285
+ if (d < D
286
+ and !topology.connectivity ({int (D), int (i)}, {int (d), int (et)}))
284
287
continue ;
285
288
286
289
// Iterate over each entity of current dimension d and type et
287
290
std::span<const std::int32_t > c_to_e
288
- = d < D ? topology.connectivity ({D, i}, {d, et})->links (c)
289
- : std::span<const std::int32_t >(&c, 1 );
291
+ = d < D
292
+ ? topology.connectivity ({int (D), int (i)}, {int (d), int (et)})
293
+ ->links (c)
294
+ : std::span<const std::int32_t >(&c, 1 );
290
295
291
296
int w = 0 ;
292
297
for (std::size_t e = 0 ; e < e_dofs_d.size (); ++e)
0 commit comments