From 0f574317b81a799fb24987f1fcea44c6aabf62d2 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 7 Jul 2017 09:53:04 +0200
Subject: [PATCH] missing #ifdef MESH

---
 Geo/MElement.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp
index d71b0ff71d..05689e94f5 100644
--- a/Geo/MElement.cpp
+++ b/Geo/MElement.cpp
@@ -326,9 +326,10 @@ void MElement::signedInvCondNumRange(double &iCNMin, double &iCNMax, GEntity *ge
 
 void MElement::signedInvGradErrorRange(double &minSIGE, double &maxSIGE)
 {
+#if defined(HAVE_MESH)
   jacobianBasedQuality::sampleIGEMeasure(this, getPolynomialOrder(),
                                          minSIGE, maxSIGE);
-  return;
+#endif
 }
 
 void MElement::getNode(int num, double &u, double &v, double &w) const
-- 
GitLab