AFAIK that's correct. The wiki article describes it as "error induced in a compass by local magnetic fields" which would include the hull of the ship (the deviation of which in turn changes with ship's heading).
Then we can talk about
navigator's balls 
_________________________
Better is the Enemy of Good Enough.
Okay, what’s your point??