Erratum “On the computation of quadratic $2$-class groups”