Skip to content

Commit

Permalink
Merge pull request #424 from streeve/fixup_unique_topo
Browse files Browse the repository at this point in the history
Add missing inline
  • Loading branch information
sslattery authored Jun 24, 2021
2 parents ca0330f + 581f516 commit d2536fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Cabana_CommunicationPlan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ auto countSendsAndCreateSteering( const ExportRankView element_export_ranks,

//---------------------------------------------------------------------------//
// Return unique neighbor ranks, with the current rank first.
std::vector<int> getUniqueTopology( std::vector<int> topology )
inline std::vector<int> getUniqueTopology( std::vector<int> topology )
{
auto remove_end = std::remove( topology.begin(), topology.end(), -1 );
std::sort( topology.begin(), remove_end );
Expand Down

0 comments on commit d2536fe

Please sign in to comment.