compilation fix
density under dmrg
passes -Wextra