MAINT: stats: Modify erlang to generate a RuntimeWarning when a non-integer shape parameter is used.