Skip to content

Conversation

timonpalm
Copy link
Contributor

The function ODESolver.sample() received a step_size=0.5 as well as a time_grid. This was a little confusing, as the time_grid implied a step_size=0.1, effectively ignoring the step_size. By just passing step_size=None, it also reflects more the documentation of that function.

I added the step_size to a later cell, where its actually being used.

I further deleted two variable initializations which seem to have no use in this or the following cells.

Copy link
Contributor

@mhavasi mhavasi left a comment

Choose a reason for hiding this comment

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

Hey, thanks for the PR. Can you rebase your branch to main so that we can run the unit tests? We recently added the option to run unit tests on external PRs.

{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you run the notebook from beginning to end to make sure all the cells are executed once in order? That way the outputs are visible on github.

@timonpalm timonpalm force-pushed the misleading_commands branch from dd1e55b to f714a46 Compare October 5, 2025 11:58
@timonpalm timonpalm force-pushed the misleading_commands branch from f7aa017 to 00724ab Compare October 13, 2025 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants