From 36e629cff415a57fd3502d383bbe384edca33fc9 Mon Sep 17 00:00:00 2001
From: Koen Hillewaert <koen.hillewaert@cenaero.be>
Date: Wed, 6 Aug 2014 16:46:57 +0000
Subject: [PATCH] bug fix: did not initialise _pyramids such that refinement
 was always activated ...

---
 Post/adaptiveData.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Post/adaptiveData.cpp b/Post/adaptiveData.cpp
index 5871cb6ed4..8119156234 100644
--- a/Post/adaptiveData.cpp
+++ b/Post/adaptiveData.cpp
@@ -1449,7 +1449,7 @@ void adaptiveElements<T>::addInView(double tol, int step,
 adaptiveData::adaptiveData(PViewData *data)
   : _step(-1), _level(-1), _tol(-1.), _inData(data),
     _points(0), _lines(0), _triangles(0), _quadrangles(0),
-    _tetrahedra(0), _hexahedra(0), _prisms(0)
+    _tetrahedra(0), _hexahedra(0), _prisms(0),_pyramids(0)
 {
   _outData = new PViewDataList(true);
   _outData->setName(data->getName() + "_adapted");
-- 
GitLab