diff options
author | Anthony LaTorre <tlatorre9@gmail.com> | 2011-06-18 20:48:16 -0400 |
---|---|---|
committer | Anthony LaTorre <tlatorre9@gmail.com> | 2011-06-18 20:48:16 -0400 |
commit | ad56515169bab5f069344e960d9582412c3672f4 (patch) | |
tree | 4f1a4c65b4587c7865a4632ed74637d65419ab24 | |
parent | ec4a86bbe3e59cb97348218f05852fda236b0592 (diff) | |
download | chroma-ad56515169bab5f069344e960d9582412c3672f4.tar.gz chroma-ad56515169bab5f069344e960d9582412c3672f4.tar.bz2 chroma-ad56515169bab5f069344e960d9582412c3672f4.zip |
stupid mistake. event_times should not be converted to an array when it is returned from generate_event()
-rw-r--r-- | threadtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/threadtest.py b/threadtest.py index 21d1b1e..81b6d62 100644 --- a/threadtest.py +++ b/threadtest.py @@ -46,7 +46,7 @@ def generate_event(position=(0,0,0), nphotons=10000): print len(event_times) print event_times - return np.array(event_times, dtype=int) + return event_times def likelihood(event_times, position=(0,0,0), nphotons=10000, neval=100): for i in range(neval): |