[opengm] 02/05: replace uint64 by size_t

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri Sep 2 15:13:58 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/master
in repository opengm.

commit 5710db3053927ddd80d72cd1beaab92583c73c80
Author: Joerg Kappes <kappes at math.uni-heidelberg.de>
Date:   Thu Sep 1 22:30:04 2016 +0200

    replace uint64 by size_t
---
 include/opengm/inference/self_fusion.hxx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/opengm/inference/self_fusion.hxx b/include/opengm/inference/self_fusion.hxx
index e2f282d..9e7e9ea 100644
--- a/include/opengm/inference/self_fusion.hxx
+++ b/include/opengm/inference/self_fusion.hxx
@@ -63,7 +63,7 @@ struct FusionVisitor{
             std::vector<LabelType> &    argBest,
             ValueType &                 value,
             ValueType &                 bound,
-            UInt64Type                  fuseNth=1
+            size_t                      fuseNth=1
         )
     :   gm_(selfFusion.graphicalModel()),
         selfFusion_(selfFusion),
@@ -245,8 +245,8 @@ struct FusionVisitor{
     
     FusionMoverType fusionMover_;
 
-    UInt64Type iteration_;
-    UInt64Type fuseNth_;
+    size_t iteration_;
+    size_t fuseNth_;
 
     ValueType & value_;
     ValueType & bound_;
@@ -302,10 +302,10 @@ public:
    class Parameter {
    public:
       Parameter(
-        const UInt64Type fuseNth=1,
+        const size_t fuseNth=1,
         const FusionSolver fusionSolver=LazyFlipperFusion,
         const typename INFERENCE::Parameter & infParam = typename INFERENCE::Parameter(),
-        const UInt64Type maxSubgraphSize=2,
+        const size_t maxSubgraphSize=2,
         const bool reducedInf = false,
         const bool tentacles = false,
         const bool connectedComponents = false,
@@ -350,10 +350,10 @@ public:
         }
       }
 
-      UInt64Type fuseNth_;
+      size_t fuseNth_;
       FusionSolver fusionSolver_;
       typename INFERENCE::Parameter infParam_;
-      UInt64Type maxSubgraphSize_;
+      size_t maxSubgraphSize_;
       bool reducedInf_;
       bool connectedComponents_;
       bool tentacles_;

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



More information about the debian-science-commits mailing list