fixed regression in signature of gdmtrain()