author | Mathieu Lacage <mathieu.lacage@sophia.inria.fr> |
Fri, 04 Dec 2009 16:15:59 +0100 | |
changeset 5836 | 527fbe452e16 |
parent 5835 | 6ea448122ee0 |
child 5837 | 0328056e7faa |
--- a/src/simulator/nstime.h Thu Dec 03 23:02:21 2009 -0800 +++ b/src/simulator/nstime.h Fri Dec 04 16:15:59 2009 +0100 @@ -335,7 +335,7 @@ { HighPrecision a = ta.GetHighPrecision (); HighPrecision b = tb.GetHighPrecision (); - return TimeUnit<N> (Max (a, b)); + return TimeUnit<N> (Min (a, b)); } // Explicit instatiation of the TimeUnit template for N=1, with a few