Theano warnings when fitting a simple psychometric function (cumulative normal distribution)

Thank you @ricardoV94 for your response.

I can confirm that changing the function works fine, and the results are comparable to what is obtained using the first definition.