--- a/src/lte/examples/lte-multiple-flows.cc Mon Mar 12 11:41:36 2012 +0100
+++ b/src/lte/examples/lte-multiple-flows.cc Mon Mar 12 15:48:32 2012 +0100
@@ -66,7 +66,7 @@
Ptr<EnbNetDevice> enb;
enb = enbDevs.Get (0)->GetObject<EnbNetDevice> ();
- Ptr<UeNetDevice> ue[nbUE];
+ std::vector< Ptr<UeNetDevice> >ue (nbUE);
for (int i = 0; i < nbUE; i++)
{
ue[i] = ueDevs.Get (i)->GetObject<UeNetDevice> ();
--- a/src/lte/test/lte-propagation-loss-model-test.cc Mon Mar 12 11:41:36 2012 +0100
+++ b/src/lte/test/lte-propagation-loss-model-test.cc Mon Mar 12 15:48:32 2012 +0100
@@ -170,8 +170,8 @@
int nbOfValues = tx.size ();
for (int i = 0; i < nbOfValues; i++)
{
- NS_TEST_ASSERT_MSG_EQ (tx.at (i) == 0 && rx.at (i) != 0, false, "Problem with elements of tx and rx.");
- NS_TEST_ASSERT_MSG_EQ (tx.at (i) != 0 && (tx.at (i) <= rx.at (i)), false, "Problem with elements of tx and rx.");
+ NS_TEST_ASSERT_MSG_EQ ((tx.at (i) == 0 && rx.at (i) != 0), false, "Problem with elements of tx and rx.");
+ NS_TEST_ASSERT_MSG_EQ ((tx.at (i) != 0 && (tx.at (i) <= rx.at (i))), false, "Problem with elements of tx and rx.");
}