[mathicgb] 165/393: Fixed compile-error on gcc 4.6. I suspect it is an error in the compiler, but it was easy to avoid.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:53 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 28fb32e9f585473f76328e166f5e445c98125dcf
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date:   Tue Feb 12 18:00:39 2013 +0100

    Fixed compile-error on gcc 4.6. I suspect it is an error in the compiler, but it was easy to avoid.
---
 src/mathicgb/BuchbergerAlg.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mathicgb/BuchbergerAlg.cpp b/src/mathicgb/BuchbergerAlg.cpp
index 2736859..d7ba9c5 100755
--- a/src/mathicgb/BuchbergerAlg.cpp
+++ b/src/mathicgb/BuchbergerAlg.cpp
@@ -276,7 +276,7 @@ void BuchbergerAlg::step() {
     // chosen. If we order sparsest-first, we will effectively make the
     // arbitrary choice among reducers from the same matrix in favor of sparser
     // reducers.
-    auto& order = [&](
+    auto order = [&](
       const std::unique_ptr<Poly>& a,
       const std::unique_ptr<Poly>& b
     ) {

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