fixed attempts to index with an empty list
@@ -290,6 +290,7 @@ class Inversion:
for combo in combo_values:
+ if len(self.inds_fixed) > 0:
self.x_fixed = combo
trajectory = []
@@ -310,6 +311,7 @@ class Inversion:
# Regardless of anything we did for the heuristic guess, bring the
# static preseed back into play (only does anything if inds_preseed
# is not blank)
+ if len(self.inds_preseed) > 0:
x0[self.inds_preseed] = combo
# Find the full state vector with bounds checked
