Unit3.cpp edited online with Bitbucket

release/4.3a0
Frank Dellaert 2015-07-12 05:17:23 +00:00
parent 48169e7776
commit 84950b3b4d
1 changed files with 2 additions and 2 deletions

View File

@ -69,13 +69,13 @@ Unit3 Unit3::Random(boost::mt19937 & rng) {
}
#ifdef GTSAM_USE_TBB
static tbb::mutex unit3BasisMutex;
tbb::mutex unit3BasisMutex;
#endif
/* ************************************************************************* */
const Matrix32& Unit3::basis() const {
#ifdef GTSAM_USE_TBB
tbb::mutex::scoped_lock lock(unit3BasisMutex);
tbb::mutex::scoped_lock lock(unit3BasisMutex);
#endif
// Return cached version if exists