Skip to content

FIX: quick fix for failing spin contamination

Michael Walter requested to merge mwalter/gpaw:lcorehole into master

The function get_spin_contamination() fails as get_all_electron_density() throws an AssertionError for core-holes with finite angular momentum. As spin contamination is rather unimportant with core-holes, this is a quick fix.

Merge request reports