Skip to content

Update models.py#4

Open
pjm07 wants to merge 1 commit intomasterfrom
truncationtp-fix
Open

Update models.py#4
pjm07 wants to merge 1 commit intomasterfrom
truncationtp-fix

Conversation

@pjm07
Copy link

@pjm07 pjm07 commented May 19, 2023

Changes treatment of eval_gradient in call of function kernel. Here, eval_gradient used to be treated as a positional argument, which passed its value to y and led to type errors. Now eval_gradient is a keyword argument, which allows the program to run without errors since y's value correctly defaults to None.

Changes treatment of eval_gradient in call of function kernel. Here, eval_gradient used to be treated as a positional argument, which passed its value to y and led to type errors. Now eval_gradient is a keyword argument, which allows the program to run without errors.
@pjm07 pjm07 requested a review from jordan-melendez May 19, 2023 19:38
Copy link
Collaborator

@jordan-melendez jordan-melendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants