From 4122a70db4ac42799139af5843b935a610f1450c Mon Sep 17 00:00:00 2001 From: podlesny <podlesny@zedat.fu-berlin.de> Date: Fri, 26 Feb 2021 15:24:54 +0100 Subject: [PATCH] {} consistency --- dune/tectonic/data-structures/friction/globalfriction.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dune/tectonic/data-structures/friction/globalfriction.hh b/dune/tectonic/data-structures/friction/globalfriction.hh index e8796c30..25de6845 100644 --- a/dune/tectonic/data-structures/friction/globalfriction.hh +++ b/dune/tectonic/data-structures/friction/globalfriction.hh @@ -78,8 +78,9 @@ class GlobalFriction { ScalarVector coefficientOfFriction(Vector const &x) const { ScalarVector ret(x.size()); - for (size_t i = 0; i < x.size(); ++i) + for (size_t i = 0; i < x.size(); ++i) { ret[i] = restriction(i).coefficientOfFriction(x[i]); + } return ret; } -- GitLab