Skip to content

Commit 66c89e1

Browse files
author
Rob
committed
fixed minor issues
1 parent 4ad990d commit 66c89e1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/diffpy/srreal/JeongPeakWidth.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ double JeongPeakWidth::calculate(const BaseBondGenerator& bnds) const
8080
double JeongPeakWidth::maxWidth(StructureAdapterPtr stru,
8181
double rmin, double rmax) const
8282
{
83-
double maxwidth0 = this->DebyeWallerPeakWidth::maxWidth(stru, rmin, rmax) +
84-
pow(this->getQbroad_new()*r, 2);
83+
double maxwidth0 = this->DebyeWallerPeakWidth::maxWidth(stru, rmin, rmax);
8584
double maxmsdsharp = max(
8685
this->msdSharpeningRatio(rmin),
8786
this->msdSharpeningRatio(rmax));

0 commit comments

Comments
 (0)