no check if v1.degree = D
Merge branch 'master' into testing