I was given some code that is supposed to replace some code that I had written. The purpose of both pieces was to calculate the latitude and longitude of something based on a series of measurements and interpolating it to a given time. My code has been in use for a while, but we're doing comparisons with another implementation and want to use the same (kind of) function to do this calculation so we can try to find the source of differences in high level implementations.
Anyway, the given code uses substantially different data structures and required a fair amount of wrapper code to get working. Now, it seems that I'm feeding appropriate values into it. The function is giving a return result indicating success, but is returning NANs for all of its resultant values. I find this irritating.
Published by
XPostcurses