Bug 1916 - RandomWalk2dMobilityMode default "Bounds" attribute is not a rectangle
authorTommaso Pecorella <tommaso.pecorella@unifi.it>
Wed, 21 May 2014 21:01:41 +0200
changeset 10786 52c7ca5d181f
parent 10785 e4c5fc7f7f5b
child 10787 5f2a338bbf5c
Bug 1916 - RandomWalk2dMobilityMode default "Bounds" attribute is not a rectangle
src/mobility/model/random-walk-2d-mobility-model.cc
--- a/src/mobility/model/random-walk-2d-mobility-model.cc	Mon May 19 21:34:20 2014 +0200
+++ b/src/mobility/model/random-walk-2d-mobility-model.cc	Wed May 21 21:01:41 2014 +0200
@@ -41,7 +41,7 @@
     .AddConstructor<RandomWalk2dMobilityModel> ()
     .AddAttribute ("Bounds",
                    "Bounds of the area to cruise.",
-                   RectangleValue (Rectangle (0.0, 0.0, 100.0, 100.0)),
+                   RectangleValue (Rectangle (0.0, 100.0, 0.0, 100.0)),
                    MakeRectangleAccessor (&RandomWalk2dMobilityModel::m_bounds),
                    MakeRectangleChecker ())
     .AddAttribute ("Time",