Bugfix for Exchange and DMI getters
Along with the setters, the getter functions in the Hamiltonian API were broken when the two Heisenberg Hamiltonians were merged.
The getters would sometimes give back wrong values and sometimes even crash.
Along with the setters, the getter functions in the Hamiltonian API were broken when the two Heisenberg Hamiltonians were merged.
The getters would sometimes give back wrong values and sometimes even crash.