EN
Electronic structure of Mn and Fe impurities in GaN and AlN are calculated within the density functional theory in the generalized gradient approximation without and with the +U corrections. The comparison with the available experimental data shows that the results obtained with U = 0 are in good agreement with experiment. Inclusion of +U corrections makes the agreement worse.