Passing ```const float``` to a function which takes a ```double``` has always been an acceptable conversion in C++.  Remember, you're passing the value from the array subscript, not the pointer itself.