Roberto,
are you sure your Fermi level is in the gap?
If yes, then I would agree with Karim that most likely your k-grid for DOS is different from k-grid for optical calculation.
Alexander.

Responder a