Unclear about Gaussian DOS

In Hans' program the c-DOS is given by
N(w)=exp(-(w-D)^2)
which is not normalized. Here I choose the normalized DOS
N(w)=1/sqrt(pi) *exp(-(w-D)^2)