Fix for the regression of bug #12607 (https://gna.org/bugs/?12607).
The determine_model_type() method now handles the strange case where no spins are selected (gracefully).
Authored by: bugman 2009-03-26
Parent: [r9002]
Child: [r9004]