Small change to avoid NaN in Tgas