SunnySuite / Sunny.jl

Spin dynamics and generalization to SU(N) coherent states
Other
79 stars 19 forks source link

Fix `available_energies` #215

Closed ddahlbom closed 8 months ago

ddahlbom commented 8 months ago

This is a fix for the available_energies function, which was previously handling negative energies incorrectly. @Lazersmoke identified the problem and suggested the solution.