Magnetic deviation – compass and diving

Magnetic deviation is the error induced in a compass by local magnetic fields, which must be allowed for, along with magnetic declination, if accurate bearings are to be calculated.

http://en.wikipedia.org/wiki/Magnetic_deviation

So it’s a good idea to hold the compass and the torch in different hands !