[MOAB-dev] r4436 - MOAB/trunk/itaps/imesh

tautges at mcs.anl.gov tautges at mcs.anl.gov
Wed Jan 12 01:13:13 CST 2011


Author: tautges
Date: 2011-01-12 01:13:07 -0600 (Wed, 12 Jan 2011)
New Revision: 4436

Modified:
   MOAB/trunk/itaps/imesh/MOAB_iMesh_unit_tests.cpp
Log:
Fixed iMesh test that I broke earlier today.



Modified: MOAB/trunk/itaps/imesh/MOAB_iMesh_unit_tests.cpp
===================================================================
--- MOAB/trunk/itaps/imesh/MOAB_iMesh_unit_tests.cpp	2011-01-12 00:47:27 UTC (rev 4435)
+++ MOAB/trunk/itaps/imesh/MOAB_iMesh_unit_tests.cpp	2011-01-12 07:13:07 UTC (rev 4436)
@@ -390,8 +390,8 @@
 {
     // test construction of an imesh instance from a core instance
   moab::Core *core = new moab::Core();
-  MBiMesh mesh(core);
-  iMesh_Instance imesh = reinterpret_cast<iMesh_Instance>(&mesh);
+  MBiMesh *mesh = new MBiMesh(core);
+  iMesh_Instance imesh = reinterpret_cast<iMesh_Instance>(mesh);
   
     // make sure we can call imesh functions
   int dim, err;






































More information about the moab-dev mailing list