Skip to content

Commit 13f00a2

Browse files
committed
Relax FLIM tolerance value: 10e-5 -> 10e-4
Otherwise, macOS on Apple Silicon yields test failures: [ERROR] FitTest.testBayesFitImg:168->assertSampleEquals:254 array contents differ at index [2], expected: <0.20058449> but was: <0.2005953> [ERROR] FitTest.testBinning:136->assertSampleEquals:254 array contents differ at index [0], expected: <15.917448> but was: <15.917488> [ERROR] FitTest.testGlobalFitImg:214->assertSampleEquals:254 array contents differ at index [3], expected: <4.498526> but was: <4.498537> [ERROR] FitTest.testRLDFitImg:120->assertSampleEquals:254 array contents differ at index [3], expected: <4.498526> but was: <4.498537> Might be the same root cause as flimlib/flimj-ops#18.
1 parent 17c1c6f commit 13f00a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scijava-ops-flim/src/test/java/org/scijava/ops/flim/AbstractFlimTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public abstract class AbstractFlimTest {
5353

5454
static final Random rng = new Random(SEED);
5555

56-
static final float TOLERANCE = 1e-5f;
56+
static final float TOLERANCE = 1e-4f;
5757

5858
static final OpEnvironment ops = OpEnvironment.build();
5959

0 commit comments

Comments
 (0)