Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
afb02ab7
Commit
afb02ab7
authored
5 years ago
by
Marko Petric
Committed by
Andre Sailer
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
use future division in g4units
parent
e2355945
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/python/g4units.py
+2
-0
2 additions, 0 deletions
DDG4/python/g4units.py
with
2 additions
and
0 deletions
DDG4/python/g4units.py
+
2
−
0
View file @
afb02ab7
...
@@ -48,6 +48,8 @@
...
@@ -48,6 +48,8 @@
#
#
# Length [L]
# Length [L]
#
#
from
__future__
import
absolute_import
,
unicode_literals
,
division
millimeter
=
1.
millimeter
=
1.
millimeter2
=
millimeter
*
millimeter
millimeter2
=
millimeter
*
millimeter
millimeter3
=
millimeter
*
millimeter
*
millimeter
millimeter3
=
millimeter
*
millimeter
*
millimeter
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment