changeset 18:c725b4be09e3

Initialize also the functionspace type
author gedeone-octave <marco.vassallo@outlook.com>
date Thu, 11 Jul 2013 22:35:10 +0200
parents efec39fccff3
children fe2264f1e789
files src/fem_init_env.cc
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/fem_init_env.cc	Thu Jul 11 18:24:15 2013 +0200
+++ b/src/fem_init_env.cc	Thu Jul 11 22:35:10 2013 +0200
@@ -16,8 +16,9 @@
 */
 
 
-#include <mesh.h>
-#include <functionspace.h>
+#include "mesh.h"
+#include "functionspace.h"
+
 
 DEFINE_OCTAVE_ALLOCATOR (mesh);
 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (mesh, "mesh", "mesh");
@@ -35,12 +36,10 @@
   else
     {
        mesh::register_type ();
-       mlock ();
        std::cout << "mesh_type_loaded" << std::endl;
        functionspace::register_type ();
+       std::cout << "functionspace_type_loaded" << std::endl;
        mlock ();
-       std::cout << "functionspace_type_loaded" << std::endl;
-
     }
   return retval;
 }