Skip to content

Commit 384380e

Browse files
committed
Get started
1 parent a22c1c0 commit 384380e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Project.toml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "GeometryOptimization"
22
uuid = "673bf261-a53d-43b9-876f-d3c1fc8329c2"
33
authors = ["JuliaMolSim community"]
4-
version = "0.1.0"
4+
version = "0.1.1"
55

66
[deps]
77
AtomsBase = "a963bdd2-2df7-4f54-a1ee-49d51e6be12a"
@@ -19,9 +19,10 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
1919
UnitfulAtomic = "a7773ee8-282e-5fa2-be4e-bd808c38a91a"
2020

2121
[compat]
22-
AtomsBase = "0.3"
23-
AtomsBuilder = "0.1"
24-
AtomsCalculators = "0.2"
22+
ASEconvert = "0.1.8"
23+
AtomsBase = "0.5"
24+
AtomsBuilder = "0.2.2"
25+
AtomsCalculators = "0.2.3"
2526
DocStringExtensions = "0.9"
2627
LineSearches = "7"
2728
Optimization = "3"

src/clamping_updating_positions.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ updated to the ones provided (in the order in which they appear in the system).
3131
"""
3232
function update_not_clamped_positions(system, positions::AbstractVector{<:Unitful.Length})
3333
mask = [!get(atom, :clamped, false) for atom in system]
34-
new_positions = deepcopy(position(system))
34+
new_positions = deepcopy(position(system, :))
3535
new_positions[mask] = reinterpret(reshape, SVector{3, eltype(positions)},
3636
reshape(positions, 3, :))
3737
update_positions(system, new_positions)

0 commit comments

Comments
 (0)