src/contrib/delay-jitter-estimation.cc
changeset 7044 f94b264549d1
parent 7040 444bb5c76bff
--- a/src/contrib/delay-jitter-estimation.cc	Wed Aug 25 17:42:52 2010 +0200
+++ b/src/contrib/delay-jitter-estimation.cc	Wed Aug 25 21:31:43 2010 +0200
@@ -98,7 +98,7 @@
   tag.GetTxTime ();
 
   Time delta = (Simulator::Now () - m_previousRx) - (tag.GetTxTime () - m_previousRxTx);
-  m_jitter += (Abs (delta).To () - m_jitter) / 16;
+  m_jitter += (Abs (delta) - m_jitter) / 16;
   m_previousRx = Simulator::Now ();
   m_previousRxTx = tag.GetTxTime ();
   m_delay = Simulator::Now () - tag.GetTxTime ();