summaryrefslogtreecommitdiff
path: root/event.py
diff options
context:
space:
mode:
authorAnthony LaTorre <tlatorre9@gmail.com>2011-09-12 16:41:17 -0400
committerAnthony LaTorre <tlatorre9@gmail.com>2011-09-12 16:41:17 -0400
commit6f0703602270d03f4025221f13fee21aa842a863 (patch)
tree2d227fbc236e647e3d6c96113f1d6b93a4113793 /event.py
parent4b5d9c633bd01ce8b2819d92eaf3e01d881fb996 (diff)
downloadchroma-6f0703602270d03f4025221f13fee21aa842a863.tar.gz
chroma-6f0703602270d03f4025221f13fee21aa842a863.tar.bz2
chroma-6f0703602270d03f4025221f13fee21aa842a863.zip
add chroma-sim script. get rid of GPU class; contexts should now be created with create_cuda_context().
Diffstat (limited to 'event.py')
-rw-r--r--event.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.py b/event.py
index f611edb..a2b99cc 100644
--- a/event.py
+++ b/event.py
@@ -1,7 +1,7 @@
import numpy as np
class Vertex(object):
- def __init__(self, particle_name, pos, dir, pol, ke, t0=0.0):
+ def __init__(self, particle_name, pos, dir, ke, t0=0.0, pol=None):
self.particle_name = particle_name
self.pos = pos
self.dir = dir