Crash when the number of missingness patterns == rows of the data
mattblackwell opened this issue · comments
Matthew Blackwell commented
If each row of the data has its own pattern of missingness, there is an out of bounds error in the ameliaImpute() function in the C++ code. Here is the error:
error: Mat::operator(): index out of bounds libc++abi.dylib: terminating with uncaught exception of type std::logic_error: Mat::operator(): index out of bounds
Probably has to do with the looping over patterns and the last iteration of that loop.
Matthew Blackwell commented
Ah, nevermind, fixed in 51ca846