Custom theano Op to do numerical integration

What are the node input types? If setting trust input to false is causing a segfault it must be that the function was converting them to other types (maybe float32?)