From e1003080e097c0f3996f36df3ed12134ad4b0b30 Mon Sep 17 00:00:00 2001 From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be> Date: Wed, 15 May 2013 10:16:56 +0000 Subject: [PATCH] BoundaryLayersData.cpp : fix out of bound indices (I don't use this function by my compiler was complaining) --- Geo/boundaryLayersData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Geo/boundaryLayersData.cpp b/Geo/boundaryLayersData.cpp index 2fc279fc73..4008c10b91 100644 --- a/Geo/boundaryLayersData.cpp +++ b/Geo/boundaryLayersData.cpp @@ -76,8 +76,8 @@ void buildMeshMetric(GFace *gf, double *uv, SMetric3 &m, double metric[3]) {der.second().x(),der.second().y(),der.second().z()}}; - for (int i=0;i<3;i++){ - for (int l=0;l<3;l++){ + for (int i=0;i<2;i++){ + for (int l=0;l<2;l++){ res[i][l] = 0; for (int j=0;j<3;j++){ for (int k=0;k<3;k++){ -- GitLab