The continuity of dislocations