-
Notifications
You must be signed in to change notification settings - Fork 92
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
Added a functionality to take predefined tqdm loops as input to solver.fit() #221
base: master
Are you sure you want to change the base?
Conversation
…ead of [t_max, t_min]
@@ -7,20 +7,20 @@ | |||
|
|||
def _chebyshev_first(a, b, n): | |||
nodes = torch.cos(((torch.arange(n) + 0.5) / n) * np.pi) | |||
nodes = ((a + b) + (b - a) * nodes) / 2 | |||
nodes = ((a + b) + (a - b) * nodes) / 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change meant to ensure the returned points are increasing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's the reason
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. There are just a few minor details that I'll take over the branch to handle.
No description provided.