merge
authorNicola Baldo <nbaldo@cttc.es>
Tue, 31 Jul 2012 19:31:14 +0200
changeset 9347 21a3a83737ff
parent 9346 00e674a0d567 (current diff)
parent 9054 16f693a95855 (diff)
child 9348 93dc6b96a53a
child 9398 0adaba5455d3
child 9402 38f326cb9d18
merge
src/lte/model/lte-ue-phy.cc
--- a/src/lte/model/lte-ue-phy.cc	Tue Jul 31 19:18:23 2012 +0200
+++ b/src/lte/model/lte-ue-phy.cc	Tue Jul 31 19:31:14 2012 +0200
@@ -143,6 +143,8 @@
   std::vector <int> ulRb;
   m_subChannelsForTransmissionQueue.resize (m_macChTtiDelay, ulRb);
 
+  NS_ASSERT_MSG (Simulator::Now ().GetNanoSeconds () == 0,
+                 "Cannot create UE devices after simulation started");
   Simulator::ScheduleNow (&LteUePhy::SubframeIndication, this, 1, 1);
 }