Closed DominikHe262 closed 2 years ago
In Julia, zeros() is less efficient than creating an empty Array first and then filling it with something. Also, lprop_old = logpdf(dist, x[:, xchnge]) throws an error if xchnge is empty.
Thanks a lot!
In Julia, zeros() is less efficient than creating an empty Array first and then filling it with something. Also, lprop_old = logpdf(dist, x[:, xchnge]) throws an error if xchnge is empty.