Fixed bug in EnergyGroups.get_group(...)

This commit is contained in:
Will Boyd 2015-10-14 22:52:50 -04:00
parent 23e26ea4e9
commit 0b9976d721

View file

@ -103,7 +103,7 @@ class EnergyGroups(object):
raise ValueError(msg)
index = np.where(self.group_edges > energy)[0][0]
group = self.num_groups - index
group = self.num_groups - index + 1
return group
def get_group_bounds(self, group):