the while !acc is for the case of thinning (corresponds to the accept/reject step in thinning). This is valid of course (same code as BPS) but so far the test case in LBPS has been a multivariate gaussian for which acc==true. For the sake of testing, one should
In the helper function
ls_updatepq!
, those lines:the
while !acc
is for the case of thinning (corresponds to the accept/reject step in thinning). This is valid of course (same code as BPS) but so far the test case in LBPS has been a multivariate gaussian for whichacc==true
. For the sake of testing, one should