From 02ca50f3f985810a017f6074cade0e42a4c5375e Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 3 Feb 2012 11:53:28 +0000
Subject: [PATCH] oops

---
 Mesh/Field.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mesh/Field.cpp b/Mesh/Field.cpp
index d998b8b37d..e624fffebf 100644
--- a/Mesh/Field.cpp
+++ b/Mesh/Field.cpp
@@ -1288,6 +1288,7 @@ class MinAnisoField : public Field
   }
   double operator() (double x, double y, double z, GEntity *ge=0)
   {
+    SMetric3 metr (1./MAX_LC);
     double v = MAX_LC;
     for(std::list<int>::iterator it = idlist.begin(); it != idlist.end(); it++) {
       Field *f = (GModel::current()->getFields()->get(*it));
-- 
GitLab