Skip to content

Commit 11f94fd

Browse files
authored
Merge pull request #432 from atomistic-machine-learning/NiklasGebauer-fix-AddOffsets
Fix error in AddOffsets
2 parents 0f50439 + a73f87e commit 11f94fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/schnetpack/transform/atomistic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,6 @@ def forward(
227227
if not self.is_extensive:
228228
y0 /= inputs[structure.n_atoms]
229229

230-
inputs[self._property] -= y0
230+
inputs[self._property] += y0
231231

232232
return inputs

0 commit comments

Comments
 (0)