Skip to content

Commit 2b94bcf

Browse files
author
Rob
committed
fixed minor issues
1 parent 66c89e1 commit 2b94bcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/diffpy/srreal/JeongPeakWidth.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ double JeongPeakWidth::maxWidth(StructureAdapterPtr stru,
8585
this->msdSharpeningRatio(rmin),
8686
this->msdSharpeningRatio(rmax));
8787
// if the sharpening factor is larger than 1 adjust the maximum width
88-
double rv = maxwidth0 * sqrt(max(1.0, maxmsdsharp));
88+
double rv = maxwidth0 * sqrt(max(1.0, maxmsdsharp))+ pow(this->getQbroad_new()*rmax, 2);
8989
return rv;
9090
}
9191

0 commit comments

Comments
 (0)