Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update models.py #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update models.py #4

wants to merge 1 commit into from

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