From c15f2eeb73b5b6ee41a5393e28c8d4680dc1eb36 Mon Sep 17 00:00:00 2001 From: droodman Date: Thu, 19 Jan 2023 19:44:31 -0500 Subject: [PATCH] Fix infinite recursion in eigvalsNaN(), duh --- src/utilities.jl | 2 +- test/unittests.log | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utilities.jl b/src/utilities.jl index 84d1e03..80817bb 100644 --- a/src/utilities.jl +++ b/src/utilities.jl @@ -20,7 +20,7 @@ invsym(X::Symmetric) = eigvalsNaN(X) = try - eigvalsNaN(X) + eigvals(X) catch _ fill(eltype(X)(NaN), size(X)) end diff --git a/test/unittests.log b/test/unittests.log index 7ac76eb..c00d14f 100644 --- a/test/unittests.log +++ b/test/unittests.log @@ -61,7 +61,7 @@ p = 0.7332 boottest (post_self=.05) (post=-.02) (selfemployed=-.15), reps(9999) weight(webb) F(3, 7) = 0.8534 -p = 0.7401 +p = 0.7283 regress hasinsurance selfemployed post post_self @@ -194,19 +194,19 @@ ivregress 2sls wage ttl_exp collgrad (tenure = union), cluster(industry) boottest, ar z = 2.4454 p = 0.0370 -CI = [0.04217 1.251] +CI = [0.04157 1.252] boottest, ar jk z = 2.4454 p = 0.1902 -CI = [-0.5734 1.483] +CI = [-0.5778 1.483] boottest, ar nonull z = 2.4454 p = 0.0370 -CI = [0.03581 1.436] +CI = [0.03548 1.436] scoretest tenure