[mathicgb] 102/393: Fixed typo in not-called function MonomialMap::entryCount.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.

commit e51faa83452a8fac76f4013e431a2ed4eab55728
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date:   Mon Nov 5 22:22:28 2012 +0100

    Fixed typo in not-called function MonomialMap::entryCount.
---
 src/mathicgb/MonomialMap.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mathicgb/MonomialMap.hpp b/src/mathicgb/MonomialMap.hpp
index 24d9d3f..c975733 100755
--- a/src/mathicgb/MonomialMap.hpp
+++ b/src/mathicgb/MonomialMap.hpp
@@ -166,7 +166,7 @@ public:
   /// Return the number of entries. This method requires locking so do not
   /// call too much. The count may have 
   size_t entryCount() const {
-    const std::lock_guard<std::mutex> lockGuard(mInsertMutex);
+    const std::lock_guard<std::mutex> lockGuard(mInsertionMutex);
     // We can load with std::memory_order_relaxed because we are holding the
     // lock.
     auto& map = *mMap.load(std::memory_order_relaxed);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git



More information about the debian-science-commits mailing list