Skip to content

Commit aad6c7a

Browse files
committed
Converted BVSCalculator methods value, valences, bvdiff, bvmsdiff, bvrmsdiff
to properties.
1 parent 02ad764 commit aad6c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diffpy/srfit/structure/bvsrestraint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def penalty(self, w = 1.0):
6666
"""
6767
# Get the bvms from the BVSCalculator
6868
self._calc.eval(self._stru)
69-
penalty = self._calc.bvmsdiff()
69+
penalty = self._calc.bvmsdiff
7070

7171
# Scale by the prefactor
7272
penalty /= self.sig**2

0 commit comments

Comments
 (0)