Skip to content

Commit

Permalink
Fix sub indexmap API update
Browse files Browse the repository at this point in the history
See: FEniCS/dolfinx#3091 for details
  • Loading branch information
jorgensd committed Mar 8, 2024
1 parent e95ea93 commit f9130db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,8 @@ dolfinx_mpc::mpc_data<T> distribute_ghost_data(

// Create submap
std::pair<dolfinx::common::IndexMap, std::vector<int32_t>> compressed_map
= dolfinx::common::create_sub_index_map(imap, blocks, false);
= dolfinx::common::create_sub_index_map(
imap, blocks, dolfinx::common::IndexMapOrder::any, false);
slave_to_ghost = std::make_shared<const dolfinx::common::IndexMap>(
std::move(compressed_map.first));

Expand Down

0 comments on commit f9130db

Please sign in to comment.