bug fix
(#388)
Merge branch '#388' of github.com:GalSim-developers/GalSim into #388