~siesta-maint/siesta/trunk

Viewing all changes in revision 755.

  • Committer: Alberto Garcia
  • Date: 2019-01-12 22:35:38 UTC
  • Revision ID: albertog@icmab.es-20190112223538-dqbw0znd5gzy28jg
Fix logic in spin options module

Routine m_spin::spin_init did not handle correctly conflicting
instructions between deprecated keywords (SpinOrbit, SpinPolarized,
NonCollinearSpin) and the new 'Spin <option>' input method.

Now a warning is printed and the 'Spin <option>' method takes proper
precedence.

(Thanks to Peter Christian Schmitz for the bug report)


expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: