getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Konstantinos Poulios
Subject: [Getfem-commits] (no subject)
Date: Tue, 19 Feb 2019 09:56:01 -0500 (EST)

branch: master
commit d45f136614ca25a790ad60d7cc23ac252177f9ee
Author: Konstantinos Poulios <address@hidden>
Date:   Tue Feb 19 15:55:51 2019 +0100

    Fix bug introduced in #69583e8b
---
 src/getfem_contact_and_friction_common.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/getfem_contact_and_friction_common.cc 
b/src/getfem_contact_and_friction_common.cc
index fe47f84..e24eae2 100644
--- a/src/getfem_contact_and_friction_common.cc
+++ b/src/getfem_contact_and_friction_common.cc
@@ -245,9 +245,9 @@ namespace getfem {
     pt.resize(N); ptx.resize(1); pty.resize(1); ptz.resize(1); ptw.resize(1);
     obstacles_gw.back().add_fixed_size_constant("X", pt);
     if (N >= 4) obstacles_gw.back().add_fixed_size_constant("w", ptw);
-    if (N >= 3) obstacles_gw.back().add_fixed_size_constant("z", ptw);
-    if (N >= 2) obstacles_gw.back().add_fixed_size_constant("y", ptw);
-    if (N >= 1) obstacles_gw.back().add_fixed_size_constant("x", ptw);
+    if (N >= 3) obstacles_gw.back().add_fixed_size_constant("z", ptz);
+    if (N >= 2) obstacles_gw.back().add_fixed_size_constant("y", pty);
+    if (N >= 1) obstacles_gw.back().add_fixed_size_constant("x", ptx);
     obstacles_f.push_back(ga_function(obstacles_gw.back(), obs));
     obstacles_f.back().compile();
     return ind;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]