Minor name change of a variable for consistency.

Digits -> d