From 9dc8aa9ffbdf6e36f1c8cb478e9556f019c396d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Tue, 22 Mar 2016 13:00:20 +0100 Subject: [PATCH] fix materials in SaveMesh --- libsrc/meshing/meshclass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index e7ea88fd..fcf72e08 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -595,7 +595,7 @@ namespace netgen outfile << cntmat << endl; for (i = 1; i <= materials.Size(); i++) if (materials.Get(i) && materials.Get(i)->length()) - outfile << i << " " << materials.Get(i) << endl; + outfile << i << " " << *materials.Get(i) << endl; }