Skip to content
Snippets Groups Projects
Commit 4a022652 authored by Heather Fong's avatar Heather Fong
Browse files

inspiral_intrinsics.py: allow template IDs start from 0

parent 1fef910d
No related branches found
No related tags found
No related merge requests found
......@@ -118,7 +118,7 @@ class SourcePopulationModel(object):
model_ids = model['event_id'].value
except KeyError:
# FIXME: assume sequential order if model['event_id'] doesn't exist
model_ids = numpy.arange(1,numpy.shape(model['coefficients'].value)[-1]+1)
model_ids = numpy.arange(numpy.shape(model['coefficients'].value)[-1])
# PPoly can construct an array of polynomials by just
# feeding it the coefficients array all in one go, but then
# it insists on evaluating all of them at once. we don't
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment