R/helpers.R
protect.Rd
Wrapper function to protect calls to the posterior function. If posterior does not compute correctly, returns -100000.
protect(f)
the function to be protected
the protected function