Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix bug in transformed vstate#2175

Merged
PhilipVinc merged 2 commits into
masterfrom
transformed-vstate-fix
Nov 14, 2025
Merged

Fix bug in transformed vstate#2175
PhilipVinc merged 2 commits into
masterfrom
transformed-vstate-fix

Conversation

@louishrm
Copy link
Copy Markdown
Collaborator

This PR aims to fix two bugs in transformed_vstate.apply_operator

  • Make sure the requested seed is being used when creating new MCState objects with the transformation
  • Update the sampler state only if the sampler state is of type MetropolisSamplerState

@PhilipVinc PhilipVinc merged commit 6fb0e3c into master Nov 14, 2025
6 of 9 checks passed
@PhilipVinc PhilipVinc deleted the transformed-vstate-fix branch November 14, 2025 13:18
@PhilipVinc
Copy link
Copy Markdown
Member

thanks!

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.71%. Comparing base (b94fd14) to head (bedbb80).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2175   +/-   ##
=======================================
  Coverage   82.71%   82.71%           
=======================================
  Files         371      371           
  Lines       22225    22225           
  Branches     2826     2826           
=======================================
  Hits        18384    18384           
  Misses       2926     2926           
  Partials      915      915           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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