aburgasser / splat

SpeX Prism Spectral Analysis Toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simulateAges finds index out of range on "protective offset"

daniellabardalezgagliuffi opened this issue · comments

age = np.array(simulate.simulateAges(10000, distribution='uniform'))
Traceback (most recent call last):

File "", line 1, in
age = np.array(simulate.simulateAges(10000, distribution='uniform'))

File "/Users/daniella/Python/splat/splat/simulate.py", line 309, in simulateAges
if age_range[0] == age_range[1]:

IndexError: list index out of range