blackjax icon indicating copy to clipboard operation
blackjax copied to clipboard

Make contracts explicit for frequently used Callables

Open ciguaran opened this issue 2 years ago • 0 comments

Although some interfaces depend on frequently used concepts, such as logprob_fn or root solver, these parameters are all typed just as Callables. This makes it difficult for users to really understand what type of function they should use. We need to make expectations on these Callables explicit, possibly by refining the type annotations.

ciguaran avatar Aug 08 '22 20:08 ciguaran