-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When a sampler is initialised without gradient function (that is, grad_logLikelihood=None), and error is thrown by the helpers.py:
NameError: name 'numerical_grad' is not defined
Indeed, numerical_grad on line 53 of helpers.py is not defined. So I believe that currently, the code does not work if no gradient function is provided.
As an example to reproduce the error, one can replace grad_logLikelihood by None on line 185 of imf_examples.py.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels