Problems passing an array to a function for 2d interpolation

This makes it compile, but I doubt it will do what you expect because of my earlier comment:

  tpsout = multimap2d(4000, 50, rpmaxis, tpsaxis, (int *) tpso);