ThermalSourceModel iterates over a yt data container object by using yt's chunking--occasionally that can lead to single-element scalars which are then attempted to be indexed.
This should fix it by requiring that we are always working with arrays.
@benopp99 this should fix the issues you were seeing with the indexing scalars. If you checkout the fix_single_cell branch and try running it would be good to know if it fixes your issue.
ThermalSourceModel
iterates over a yt data container object by using yt's chunking--occasionally that can lead to single-element scalars which are then attempted to be indexed.This should fix it by requiring that we are always working with arrays.
Fixes issue #35.