src/simulator/time.cc
changeset 158 47af319de4b8
parent 157 19ffb62f521e
child 161 c3aee00484fc
--- a/src/simulator/time.cc	Fri Nov 03 09:26:48 2006 +0100
+++ b/src/simulator/time.cc	Fri Nov 03 09:28:29 2006 +0100
@@ -98,6 +98,12 @@
   : TimeUnit<0> (HighPrecision (scalar))
 {}
 
+double
+Scalar::GetDouble (void) const
+{
+  return GetHighPrecision ().GetDouble ();
+}
+
 }; // namespace ns3