Skip to content

Commit 3598239

Browse files
author
maechler
committed
M1 macs are less accurate -> loosen tolerance
git-svn-id: https://svn.r-project.org/R/trunk@88051 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 375fda7 commit 3598239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/stats/tests/factanal-tst.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ rotmat <- resO100 $ rotmat
3131
# no longer can the unrotated matrix be recreated. the max abs diff between
3232
# unrotated and recreated unrotated loadings should be near zero but is not:
3333
print.default(dev <- ldns %*% solve(rotmat) - oriL)
34-
stopifnot(max(abs(dev)) < 1e-14) # max|dev| was 2.000982 (R <= 4.4.x), now 2.22e-16 [Lnx x86_64, gcc]
34+
stopifnot(max(abs(dev)) < 1e-9) # max|dev| was 2.000982 (R <= 4.4.x), now 2.22e-16 [Lnx x86_64, gcc]; 6e-12 on M1mac
3535

3636
ldns # prints loadings too
3737
## check the "SS loadings .... " line

0 commit comments

Comments
 (0)