Skip to content

Commit

Permalink
PABLO: explicitly cast bitset::reference to bool
Browse files Browse the repository at this point in the history
Fixes an error when compiling bitpit with libc++ (see issue #348).
  • Loading branch information
andrea-iob committed Oct 17, 2022
1 parent 611c3e9 commit 8f8e819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PABLO/ParaTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5696,7 +5696,7 @@ namespace bitpit {
for(std::size_t i = 0; i < nRankBorders; ++i){
const Octant &octant = m_octree.m_octants[rankBordersPerProc[i]];
sendBuffer << octant.getMarker();
sendBuffer << octant.m_info[Octant::INFO_AUX];
sendBuffer << static_cast<bool>(octant.m_info[Octant::INFO_AUX]);
}
}

Expand Down

0 comments on commit 8f8e819

Please sign in to comment.