[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: |
Sun, 6 Aug 2017 08:44:01 -0400 (EDT) |
branch: devel-logari81
commit 2a0d1836a70dcb67df9a353bfa7a8881e815f57b
Author: Konstantinos Poulios <address@hidden>
Date: Sun Aug 6 14:41:54 2017 +0200
fix bug in dof enumeration (causing invalid merging of dofs in very small
elements)
---
src/getfem_mesh_fem.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/getfem_mesh_fem.cc b/src/getfem_mesh_fem.cc
index 14bf08f..c3b4927 100644
--- a/src/getfem_mesh_fem.cc
+++ b/src/getfem_mesh_fem.cc
@@ -360,7 +360,7 @@ namespace getfem {
bmax[d] = std::max(bmax[d], pt[d]);
}
}
- elt_car_sizes[cv] = gmm::vect_dist2(bmin, bmax);
+ elt_car_sizes[cv] = gmm::vect_dist2_sqr(bmin, bmax);
}
}