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

fix == errors in setrun