Is this an ok solution to make this test pass?

For example our gamma_p uses boost’s gamma_p without modifying the error policy so it returns NaN on a <= 0 or z < 0 … but it could just all throw if we used a consistent policy