Skip to content

Fix bug in stochastic step.#2492

Merged
Ericgig merged 6 commits into
qutip:masterfrom
Ericgig:bug.stoc_step
Jul 17, 2024
Merged

Fix bug in stochastic step.#2492
Ericgig merged 6 commits into
qutip:masterfrom
Ericgig:bug.stoc_step

Conversation

@Ericgig

@Ericgig Ericgig commented Jul 15, 2024

Copy link
Copy Markdown
Member

Description
Fix a bug in the stochastic solver step function.

Also add the wiener increment as an optional output.

Related issues or PRs
fix #2491

for w in result_merged.wiener_process
)

@pytest.mark.parametrize("open", [True, False])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It would be nice to have a test to cover the heterodyne=False case.

Comment thread qutip/solver/stochastic.py Outdated
@coveralls

coveralls commented Jul 15, 2024

Copy link
Copy Markdown

Coverage Status

coverage: 85.107% (+0.003%) from 85.104%
when pulling 3962fe9 on Ericgig:bug.stoc_step
into 418e338 on qutip:master.

@Ericgig Ericgig marked this pull request as ready for review July 17, 2024 13:53
@Ericgig Ericgig merged commit d5734e4 into qutip:master Jul 17, 2024
@Ericgig Ericgig deleted the bug.stoc_step branch July 17, 2024 15:27
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.

step does not work for SMESolver

3 participants