Skip to content

Commit

Permalink
Bump version: 0.5.10 → 0.5.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mfherbst committed Oct 15, 2022
1 parent f68c8ac commit 2a41de9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.5.10
current_version = 0.5.11
commit = True
tag = False

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DFTK"
uuid = "acf6eb54-70d9-11e9-0013-234b7a5f5337"
authors = ["Michael F. Herbst <[email protected]>", "Antoine Levitt <[email protected]>"]
version = "0.5.10"
version = "0.5.11"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down
8 changes: 4 additions & 4 deletions test/Model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ end
Model(silicon.lattice; n_electrons=1)

# Violation of charge neutrality should throw for models with atoms.
@test_throws "Coulomb electrostatics" model_LDA(silicon.lattice, silicon.atoms,
silicon.positions; εF=0.1)
@test_throws "non-neutral cell" model_LDA(silicon.lattice, silicon.atoms,
silicon.positions; n_electrons=1)
@test_throws ErrorException model_LDA(silicon.lattice, silicon.atoms,
silicon.positions; εF=0.1)
@test_throws ErrorException model_LDA(silicon.lattice, silicon.atoms,
silicon.positions; n_electrons=1)
end

0 comments on commit 2a41de9

Please sign in to comment.