From 6f0703602270d03f4025221f13fee21aa842a863 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Mon, 12 Sep 2011 16:41:17 -0400 Subject: add chroma-sim script. get rid of GPU class; contexts should now be created with create_cuda_context(). --- event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'event.py') 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 -- cgit