From 51fa2d1f3d179f33ec3bd2e1e6c516f3675f6758 Mon Sep 17 00:00:00 2001
From: Timo Koch <timo.koch@iws.uni-stuttgart.de>
Date: Mon, 20 Sep 2021 01:08:59 +0200
Subject: [PATCH] [navierstokes][problem] Make zero initialization explicit

---
 dumux/freeflow/navierstokes/problem.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dumux/freeflow/navierstokes/problem.hh b/dumux/freeflow/navierstokes/problem.hh
index 12073bcb20..9fb566006d 100644
--- a/dumux/freeflow/navierstokes/problem.hh
+++ b/dumux/freeflow/navierstokes/problem.hh
@@ -479,7 +479,7 @@ public:
         const auto& scv = fvGeometry.scv(scvf.insideScvIdx());
 
         // create a unit normal vector oriented in positive coordinate direction
-        GlobalPosition orientation;
+        GlobalPosition orientation(0.0);
         orientation[scv.dofAxis()] = 1.0;
 
         // du/dy + dv/dx = alpha/sqrt(K) * (u_boundary-uPM)
-- 
GitLab