From afb02ab75b2b941ea4ad600457f24a6b5d8fd996 Mon Sep 17 00:00:00 2001 From: Marko Petric <marko.petric@cern.ch> Date: Thu, 25 Jul 2019 13:00:55 +0200 Subject: [PATCH] use future division in g4units --- DDG4/python/g4units.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DDG4/python/g4units.py b/DDG4/python/g4units.py index 894a8048d..2d348d46b 100644 --- a/DDG4/python/g4units.py +++ b/DDG4/python/g4units.py @@ -48,6 +48,8 @@ # # Length [L] # +from __future__ import absolute_import, unicode_literals, division + millimeter = 1. millimeter2 = millimeter*millimeter millimeter3 = millimeter*millimeter*millimeter -- GitLab