fixed Bug 1208 - Spectrum module example causing valgrind errors
authorNicola Baldo <nbaldo@cttc.es>
Thu, 07 Jul 2011 15:39:44 +0200
changeset 7357 10599454e238
parent 7354 8bae17a05917
child 7358 eafffe8020a0
fixed Bug 1208 - Spectrum module example causing valgrind errors
src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc
--- a/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc	Thu Jul 07 12:58:27 2011 +0100
+++ b/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc	Thu Jul 07 15:39:44 2011 +0200
@@ -61,7 +61,7 @@
 int main (int argc, char** argv)
 {
   CommandLine cmd;
-  double lossDb;
+  double lossDb = 150;
   double txPowerW = 0.1; 
   uint64_t phyRate = 500000;
   uint32_t pktSize = 1000;