Compensating for errors caused by damping effects of the current