This fixes a bug for PSIS-LOO CV with validate_search = FALSE and a single projected draw (the sub_psisloo <- importance_sampling_func(-log_lik_ref, [...] call gave the error
Error in importance_sampling_object(unnormalized_log_weights = log_weights, :
is.matrix(unnormalized_log_weights) is not TRUE
This fixes a bug for PSIS-LOO CV with
validate_search = FALSE
and a single projected draw (thesub_psisloo <- importance_sampling_func(-log_lik_ref, [...]
call gave the errorwhich came from the loo package).