--- a/src/common/propagation-loss-model-test-suite.cc Mon Nov 08 13:54:12 2010 -0800 +++ a/src/common/propagation-loss-model-test-suite.cc Tue Nov 09 20:07:21 2010 -0800 @@ -374,11 +374,11 @@ bool MatrixPropagationLossModelTestCase::DoRun (void) { - Ptr n[3]; + Ptr n[3]; Ptr m[3]; for (int i = 0; i < 3; ++i) { - n[i] = CreateObject (); + n[i] = CreateObject (); m[i] = CreateObject (); n[i]->AggregateObject (m[i]); } --- a/src/common/propagation-loss-model.cc Mon Nov 08 13:54:12 2010 -0800 +++ a/src/common/propagation-loss-model.cc Tue Nov 09 20:07:21 2010 -0800 @@ -747,7 +747,7 @@ } void -MatrixPropagationLossModel::SetLoss (Ptr a, Ptr b, double loss, bool symmetric) +MatrixPropagationLossModel::SetLoss (Ptr a, Ptr b, double loss, bool symmetric) { Ptr ma = a->GetObject (); Ptr mb = b->GetObject (); --- a/src/common/propagation-loss-model.h Mon Nov 08 13:54:12 2010 -0800 +++ a/src/common/propagation-loss-model.h Tue Nov 09 20:07:21 2010 -0800 @@ -27,7 +27,6 @@ #include "ns3/object.h" #include "ns3/random-variable.h" -#include "ns3/node.h" #include namespace ns3 { @@ -495,14 +494,14 @@ virtual ~MatrixPropagationLossModel (); /** - * \brief Set loss (in dB, positive) between pair of nodes. + * \brief Set loss (in dB, positive) between pair of ns-3 objects (typically, nodes) * - * \param a Source node - * \param b Destination node + * \param a Source object + * \param b Destination object * \param loss a -> b path loss, positive in dB * \param symmetric If true (default), both a->b and b->a paths will be affected */ - void SetLoss (Ptr a, Ptr b, double loss, bool symmetric = true); + void SetLoss (Ptr a, Ptr b, double loss, bool symmetric = true); /// Set default loss (in dB, positive) to be used, infinity if not set void SetDefaultLoss (double);