From 3968b0b9c14866743444540cb59b63e0808407ce Mon Sep 17 00:00:00 2001
From: Tomas Jakubec <jakubto1@fjfi.cvut.cz>
Date: Sat, 5 Oct 2019 15:07:54 +0200
Subject: [PATCH] pyramid reading fixed

---
 Unstructured_mesh/Unstructured_mesh.pro.user | 2 +-
 Unstructured_mesh/VTKMeshReader.h            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Unstructured_mesh/Unstructured_mesh.pro.user b/Unstructured_mesh/Unstructured_mesh.pro.user
index 877b0b1..b750645 100644
--- a/Unstructured_mesh/Unstructured_mesh.pro.user
+++ b/Unstructured_mesh/Unstructured_mesh.pro.user
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE QtCreatorProject>
-<!-- Written by QtCreator 4.10.0, 2019-10-04T18:23:48. -->
+<!-- Written by QtCreator 4.10.0, 2019-10-05T13:24:56. -->
 <qtcreator>
  <data>
   <variable>EnvironmentId</variable>
diff --git a/Unstructured_mesh/VTKMeshReader.h b/Unstructured_mesh/VTKMeshReader.h
index 6453e98..e550708 100644
--- a/Unstructured_mesh/VTKMeshReader.h
+++ b/Unstructured_mesh/VTKMeshReader.h
@@ -238,7 +238,7 @@ class VTKMeshReader<3, IndexType, Real, Reserve...> : public MeshReader<3, Index
                 {// edges (first)
                     {0,1},//0
                     {1,2},//1
-                    {2,0},//2
+                    {2,3},//2
                     {3,0},//3
                     {0,4},//4
                     {1,4},//5
-- 
GitLab