That's because assignment looks like this:
Code:
sensorFunctions[0] =  floatFunction;