From 6183d9eeaa2cae6ca859b0a2f125d13842f57c39 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 31 May 2017 19:02:58 -0700 Subject: mpm: Made code Python3-compatible --- mpm/python/usrp_mpm/cores/tdc_sync.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mpm/python/usrp_mpm/cores') diff --git a/mpm/python/usrp_mpm/cores/tdc_sync.py b/mpm/python/usrp_mpm/cores/tdc_sync.py index d85dbadde..9ed825e1c 100644 --- a/mpm/python/usrp_mpm/cores/tdc_sync.py +++ b/mpm/python/usrp_mpm/cores/tdc_sync.py @@ -18,6 +18,8 @@ TDC clock synchronization """ import time +from builtins import object +from functools import reduce def mean(vals): " Calculate arithmetic mean of vals " -- cgit v1.2.3