From ff256854c779128434026a4d51a4904224bfc211 Mon Sep 17 00:00:00 2001 From: Peter Powers <pmpowers@usgs.gov> Date: Tue, 18 Jun 2024 10:38:41 -0600 Subject: [PATCH] micro adjustments to mfd tests --- .../gov/usgs/earthquake/nshmp/mfd/MfdTests.java | 14 +++++++------- .../gov/usgs/earthquake/nshmp/mfd/MfdsTests.java | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/test/java/gov/usgs/earthquake/nshmp/mfd/MfdTests.java b/src/test/java/gov/usgs/earthquake/nshmp/mfd/MfdTests.java index 251dedb8..d2535dd2 100644 --- a/src/test/java/gov/usgs/earthquake/nshmp/mfd/MfdTests.java +++ b/src/test/java/gov/usgs/earthquake/nshmp/mfd/MfdTests.java @@ -285,7 +285,7 @@ class MfdTests { 1.4535446859752395E-4, 1.2095189730212227E-4, 1.0066358352203966E-4, - 8.37988347826301E-5, + 8.379883478263012E-5, 6.978336683158799E-5, 5.813972403773392E-5, 4.8470974011098916E-5, @@ -294,16 +294,16 @@ class MfdTests { 2.8282200517277988E-5, 2.3722080373146463E-5, 1.9953542732997602E-5, - 1.6841412644916558E-5, - 1.4269370950942086E-5, - 1.213450863835374E-5, + 1.6841412644916572E-5, + 1.4269370950942071E-5, + 1.2134508638353739E-5, 1.0342192289241769E-5, 8.80177763108668E-6, 7.4247305061395814E-6, 6.1282556531428345E-6, - 4.848713278025381E-6, - 3.56685822196953E-6, - 2.3358516405761174E-6, + 4.848713278025379E-6, + 3.5668582219695318E-6, + 2.3358516405761178E-6, 1.2823409762916184E-6, 5.437829885686743E-7, 1.5949675112240326E-7 }; diff --git a/src/test/java/gov/usgs/earthquake/nshmp/mfd/MfdsTests.java b/src/test/java/gov/usgs/earthquake/nshmp/mfd/MfdsTests.java index 14b991a0..3728c833 100644 --- a/src/test/java/gov/usgs/earthquake/nshmp/mfd/MfdsTests.java +++ b/src/test/java/gov/usgs/earthquake/nshmp/mfd/MfdsTests.java @@ -98,11 +98,11 @@ class MfdsTests { 0.31002212243909005, 0.24625932524251715, 0.1956107351042815, - 0.15537912990850308, + 0.1553791299085031, 0.12342202997321594, 0.09803760319471205, 0.0778740362822551, - 0.0618575457709384, + 0.061857545770938396, 0.04913519513660598, 0.039029472815693286, 0.031002212243909005, @@ -183,7 +183,7 @@ class MfdsTests { assertEquals(COMBINE_MO_RATE, Mfds.momentRate(mfd)); } - private static final double PARETO_RATE = 3.6159044829897224E-5; + private static final double PARETO_RATE = 3.6159044829897265E-5; @Test void testParetoRate() { -- GitLab