Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
c18f4a5e
"gallery/transforms/plot_transforms_getting_started.py" did not exist on "90e0b79229ae68ad869515cfb1e556ae018233c3"
Unverified
Commit
c18f4a5e
authored
Mar 19, 2020
by
Farhad Ramezanghorbani
Committed by
GitHub
Mar 19, 2020
Browse files
fix nopbc neighbor bug (#429)
parent
3fdf0251
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchani/aev.py
torchani/aev.py
+1
-1
No files found.
torchani/aev.py
View file @
c18f4a5e
...
...
@@ -274,7 +274,7 @@ def compute_aev(species: Tensor, coordinates: Tensor, cell: Tensor,
num_atoms
=
species
.
shape
[
1
]
num_species_pairs
=
angular_length
//
angular_sublength
# PBC calculation is bypassed if there are no shifts
if
shifts
.
numel
()
==
1
:
if
shifts
.
numel
()
==
0
:
atom_index1
,
atom_index2
,
shifts
=
neighbor_pairs_nopbc
(
species
==
-
1
,
coordinates
,
cell
,
shifts
,
Rcr
)
else
:
atom_index1
,
atom_index2
,
shifts
=
neighbor_pairs
(
species
==
-
1
,
coordinates
,
cell
,
shifts
,
Rcr
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment