small bug fix in interpolation

Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>