Fix undefined DV
Merge pull request #2 from MikeMcl/master

Fix undefined DV