From 8eaf2a1530b795e7954048f4dd93e220f0bfc3e9 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 19 Nov 2008 18:10:22 +0000
Subject: [PATCH] *** empty log message ***

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

diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp
index 08485927b4..e4cafe81e3 100644
--- a/Geo/MElement.cpp
+++ b/Geo/MElement.cpp
@@ -722,7 +722,7 @@ MElement *MElementFactory::create(int type, std::vector<MVertex*> &v,
 
 const gmshFunctionSpace* MLine::getFunctionSpace(int o) const
 {
-  int order = o == -1 ? getPolynomialOrder() : o;
+  int order = (o == -1) ? getPolynomialOrder() : o;
   
   switch (order) {
   case 1: return &gmshFunctionSpaces::find(MSH_LIN_2);
-- 
GitLab