fix typo
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Thu, 19 Jul 2007 11:30:47 +0200
changeset 1631 1dcfeb3c0fea
parent 1630 8a6c5c273846
child 1632 b1a532cc4e9f
fix typo
samples/main-grid-topology.cc
src/node/grid-topology.cc
src/node/grid-topology.h
--- a/samples/main-grid-topology.cc	Thu Jul 19 11:09:13 2007 +0200
+++ b/samples/main-grid-topology.cc	Thu Jul 19 11:30:47 2007 +0200
@@ -27,7 +27,7 @@
   GridTopology grid (-100, -100, 20, 5, 20);
 
   // each object will be attached a static position.
-  grid.SetMobilityModelModel (StaticMobilityModel::cid);
+  grid.SetMobilityModel (StaticMobilityModel::cid);
 
   // finalize the setup by attaching to each object
   // in the input array a position and initializing
--- a/src/node/grid-topology.cc	Thu Jul 19 11:09:13 2007 +0200
+++ b/src/node/grid-topology.cc	Thu Jul 19 11:30:47 2007 +0200
@@ -33,7 +33,7 @@
 {}
 
 void 
-GridTopology::SetMobilityModelModel (ClassId classId)
+GridTopology::SetMobilityModel (ClassId classId)
 {
   m_positionClassId = classId;
 }
--- a/src/node/grid-topology.h	Thu Jul 19 11:09:13 2007 +0200
+++ b/src/node/grid-topology.h	Thu Jul 19 11:30:47 2007 +0200
@@ -48,7 +48,7 @@
    * \param classId the classId of the position object to attach to each
    *        input object.
    */
-  void SetMobilityModelModel (ClassId classId);
+  void SetMobilityModel (ClassId classId);
 
   /**
    * \param objects a vector of objects