Skip to content

Commit

Permalink
Fix infinite recursion in eigvalsNaN(), duh
Browse files Browse the repository at this point in the history
  • Loading branch information
droodman committed Jan 20, 2023
1 parent 8971a91 commit c15f2ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/utilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ invsym(X::Symmetric) =

eigvalsNaN(X) =
try
eigvalsNaN(X)
eigvals(X)
catch _
fill(eltype(X)(NaN), size(X))
end
Expand Down
8 changes: 4 additions & 4 deletions test/unittests.log
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

2 comments on commit c15f2ee

@droodman
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/75981

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.8.6 -m "<description of version>" c15f2eeb73b5b6ee41a5393e28c8d4680dc1eb36
git push origin v0.8.6

Please sign in to comment.