[mathicgb] 10/393: Changed code to compile with changed interface to HashTable. But code doesn't yet really use new HashTable code.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:21 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 fc7be215fca05613d499379ee15ea8d6a1f73005
Author: Mike Stillman <mikestillman1 at gmail.com>
Date:   Sat Aug 4 07:58:59 2012 -0400

    Changed code to compile with changed interface to HashTable.  But code doesn't yet really use new HashTable code.
---
 src/mathicgb/BjarkeGeobucket2.cpp | 1 +
 src/mathicgb/BjarkeGeobucket2.hpp | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mathicgb/BjarkeGeobucket2.cpp b/src/mathicgb/BjarkeGeobucket2.cpp
index 55086ab..7673509 100644
--- a/src/mathicgb/BjarkeGeobucket2.cpp
+++ b/src/mathicgb/BjarkeGeobucket2.cpp
@@ -34,6 +34,7 @@ void BjarkeGeobucket2::insert(Poly::const_iterator first,
         {
           // remove the monomial.  It should be at the top of the mArena arena.
           mRing.freeTopMonomial(mArena,monomspace);
+          mRing.coefficientAddTo(found.second->value(), i.getCoefficient());
         }
       else
         {
diff --git a/src/mathicgb/BjarkeGeobucket2.hpp b/src/mathicgb/BjarkeGeobucket2.hpp
index 080bdcb..a22cd01 100644
--- a/src/mathicgb/BjarkeGeobucket2.hpp
+++ b/src/mathicgb/BjarkeGeobucket2.hpp
@@ -90,7 +90,7 @@ protected:
   void resetReducer();
 
 private:
-  typedef mic::HashTable<BjarkeGeobucket2Configuration>::Node node;
+  typedef mic::HashTable<BjarkeGeobucket2Configuration>::Handle node;
   typedef PolyHashTable::MonomialArray HashPoly;
 
   void insert(Poly::const_iterator first, 

-- 
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