Merge pull request #922 from blattms/return_mask_for_updateOwnerMask

Return a constant reference to the mask for ParallelISTLInformation::updateOwnerMask
This commit is contained in:
Atgeirr Flø Rasmussen 2015-11-13 15:20:35 +01:00
commit 5f9d361c03

View File

@ -160,7 +160,7 @@ public:
communicator.free();
}
template<class T>
void updateOwnerMask(const T& container) const
const std::vector<double>& updateOwnerMask(const T& container) const
{
if( ! indexSet_ )
{
@ -177,6 +177,7 @@ public:
}
}
}
return ownerMask_;
}
/// \brief Compute one or more global reductions.
///