Default Type in pm.Mixture

Hey there,
I am new to pymc3 and tried to build a certain mixture model. Now my question is whether it is intended that
pm.Mixture defaults to using np.float64 for dtype if dtype argument is not set to float32 (Line 82 in https://github.com/pymc-devs/pymc3/blob/master/pymc3/distributions/mixture.py). This caused a type error in theano for my model, while with dtype set it works just fine. As far as I can tell, this is not documented anywhere. As the general guideline seems to be to pass all values as float32 it might be useful to fix this.

Thank you in advance.

You are right - I am not sure why it was implemented this way as well, a better solution should be using the pm.theanof.floatX. Pull request welcome to change this :slight_smile: