fix == errors in setrun
Merge pull request #23 from rjleveque/fix-setrun

fix == errors in setrun