mikewlcheung/metasem

Bug in the "if (!is.pd(x.new)) stop("x is not positive definite!\n")" line of the code

Mraknight3 opened this issue · 2 comments

While running the metaSEM code, I get an error that reads:

Error in if (!is.pd(x.new)) stop("x is not positive definite!\n") :
missing value where TRUE/FALSE needed

Could you please provide a reproducible example?

I have closed the issue for now. Please reopen it if you have a reproducible example.