From 588a09fa4d36af3351c7cea81922379b904a4a34 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 29 May 2005 01:21:43 +0000 Subject: [PATCH] fixed precision to ms in aubiodiffs-onset --- python/aubiodiffs-onset | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/aubiodiffs-onset b/python/aubiodiffs-onset index f47ddd02..67e2f59c 100755 --- a/python/aubiodiffs-onset +++ b/python/aubiodiffs-onset @@ -87,5 +87,6 @@ if delay: lres[i] = lres[i] + delay # compute errors types l = onset_diffs(ltru,lres,tol) -for i in l: print i +# print with 1ms precision +for i in l: print "%.3f" % float(i) -- 2.26.2