From 153d3b895f2ea75673f32e79dfa9890692dbbb67 Mon Sep 17 00:00:00 2001
From: Sebastian Eibl <sebastian.eibl@fau.de>
Date: Fri, 9 Feb 2018 09:53:43 +0100
Subject: [PATCH] fixed metis&parmetis  warnings

---
 tests/core/load_balancing/ParMetisTest.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/core/load_balancing/ParMetisTest.cpp b/tests/core/load_balancing/ParMetisTest.cpp
index 320315e8d..0b9643961 100644
--- a/tests/core/load_balancing/ParMetisTest.cpp
+++ b/tests/core/load_balancing/ParMetisTest.cpp
@@ -130,7 +130,7 @@ int main( int argc, char * argv[] )
    int64_t numflag = 0;
    int64_t nparts = int64_c( partitions );
    std::vector< double > tpwgts( partitions, 1.0 / numeric_cast<double>( partitions ) );
-   std::vector< double > ubvec( ncon, 1.05 );
+   std::vector< double > ubvec( numeric_cast<size_t>(ncon), 1.05 );
    int64_t options[] = {0,0,0};
    int64_t edgecut;
    std::vector< int64_t > part( fieldSize[0] * fieldSize[1] );
-- 
GitLab