Fixed an error checking bug in dcsimsep.