[MOAB-dev] r5455 - in MOAB/tags/4.5.0: . itaps/imesh

tautges at mcs.anl.gov tautges at mcs.anl.gov
Thu Mar 29 13:34:22 CDT 2012


Author: tautges
Date: 2012-03-29 13:34:21 -0500 (Thu, 29 Mar 2012)
New Revision: 5455

Modified:
   MOAB/tags/4.5.0/
   MOAB/tags/4.5.0/itaps/imesh/iMesh_MOAB.cpp
Log:
Backing out commit to tagged version.




Property changes on: MOAB/tags/4.5.0
___________________________________________________________________
Modified: svn:mergeinfo
   - /MOAB/branches/Version4.0:4323-4497
/MOAB/branches/jk-direct-tag:4069-4327
/MOAB/trunk:5452
   + /MOAB/branches/Version4.0:4323-4497
/MOAB/branches/jk-direct-tag:4069-4327

Modified: MOAB/tags/4.5.0/itaps/imesh/iMesh_MOAB.cpp
===================================================================
--- MOAB/tags/4.5.0/itaps/imesh/iMesh_MOAB.cpp	2012-03-28 15:39:08 UTC (rev 5454)
+++ MOAB/tags/4.5.0/itaps/imesh/iMesh_MOAB.cpp	2012-03-29 18:34:21 UTC (rev 5455)
@@ -1957,7 +1957,7 @@
                      tag_values_allocated,
                      tag_values_size, err);
     *tag_values_allocated /= sizeof(int);
-    if (tag_values_size != tag_values_allocated) *tag_values_size /= sizeof(int);
+    *tag_values_size /= sizeof(int);
   }
 
   void iMesh_getDblArrData (iMesh_Instance instance,
@@ -1976,7 +1976,7 @@
                      tag_values,
                      tag_values_allocated, tag_values_size, err);
     *tag_values_allocated /= sizeof(double);
-    if (tag_values_size != tag_values_allocated) *tag_values_size /= sizeof(double);
+    *tag_values_size /= sizeof(double);
   }
 
   void iMesh_getEHArrData (iMesh_Instance instance,
@@ -1996,7 +1996,7 @@
                      tag_value_allocated,
                      tag_value_size, err);
     *tag_value_allocated /= sizeof(iBase_EntityHandle);
-    if (tag_value_size != tag_value_allocated) *tag_value_size /= sizeof(iBase_EntityHandle);
+    *tag_value_size /= sizeof(iBase_EntityHandle);
   }
 
   void iMesh_getESHArrData (iMesh_Instance instance,
@@ -2016,7 +2016,7 @@
                      tag_value_allocated,
                      tag_value_size, err);
     *tag_value_allocated /= sizeof(iBase_EntityHandle);
-    if (tag_value_size != tag_value_allocated) *tag_value_size /= sizeof(iBase_EntityHandle);
+    *tag_value_size /= sizeof(iBase_EntityHandle);
   }
 
   void iMesh_setArrData (iMesh_Instance instance,



More information about the moab-dev mailing list