fixed error when determining broadcast dimensions
fixed error when determining broadcast dimensions

lre/cudarray,andersbll/cudarray,andersbll/cudarray,malzantot/cudarray,lre/cudarray,rufrozen/cudarray,bssrdf/cudarray,bssrdf/cudarray,rufrozen/cudarray,rufrozen/cudarray,malzantot/cudarray