# Martingale correction for Andersen scheme with Interest Rate

I have implemented martingale correction to my Andersen scheme for Heston model, as it is in the paper (page 19-22):