We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimize_energy!
Minimal reproducer:
using Sunny latvecs = lattice_vectors(1, 1, 10, 90, 90, 90) cryst = Crystal(latvecs, [[0,0,0]]) sys = System(cryst, (10,10,1), [SpinInfo(1, S=1, g=2)], :dipole; seed=1) sys2 = to_inhomogeneous(sys) set_vacancy_at!(sys2, (1,1,1,1)) minimize_energy!(sys2) # AssertionError: n' * n ≈ 1
Bug reported by Lázaro Cabán Cabrera.
The text was updated successfully, but these errors were encountered:
@ddahlbom proposed the workaround:
sys.κs[site] = 0.001
which can be used in place of set_vacancy_at!(sys, site).
set_vacancy_at!(sys, site)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Minimal reproducer:
Bug reported by Lázaro Cabán Cabrera.
The text was updated successfully, but these errors were encountered: