Skip to content

Commit 95165f4

Browse files
The9CatCopilot
andauthored
Update expui/Coefficients.cc
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a4f62d5 commit 95165f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

expui/Coefficients.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ namespace CoefClasses
886886
double scale0 = coefs.begin()->second->scale;
887887
std::string forceID0(coefs.begin()->second->id);
888888

889-
if (std::abs(scale0 - scale1) > 1.e-8 * std::max(std::abs(scale0), std::abs(scale1))) {
889+
if (std::abs(scale0 - scale1) > 1.0e-8 * std::max(std::abs(scale0), std::abs(scale1))) {
890890
if (myid==0)
891891
std::cout << "---- SphCoefs::CheckH5Params: scale mismatch " << scale0
892892
<< " != " << scale1 << std::endl;

0 commit comments

Comments
 (0)