Salome HOME
Minor: portability issue. On CentOS5.2, MPI_Datatype is an int.
[tools/medcoupling.git] / src / INTERP_KERNEL / MeshUtils.hxx
index 908c0d03ab3fca4afed3430a274d7001880f5497..6f751d13436d0b41591088fdbc58eb9847598d7a 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -83,7 +83,6 @@ namespace INTERP_KERNEL
   template<class MyMeshType>
   inline const double* getCoordsOfNode2(typename MyMeshType::MyConnType node, typename MyMeshType::MyConnType element, const MyMeshType& mesh, typename MyMeshType::MyConnType& nodeId)
   {
-    typedef typename MyMeshType::MyConnType ConnType;
     nodeId= getGlobalNumberOfNode(node, element, mesh);
     return mesh.getCoordinatesPtr()+MyMeshType::MY_SPACEDIM*nodeId;
   }