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

PREVENT 1D DISTRIBUTION #633

Merged
merged 2 commits into from
Dec 27, 2023
Merged

Conversation

reubenharry
Copy link
Contributor

Raise a ValueError if the initial position has 1 dimension, because MCLMC (in the rescaled form available in code) only works in 1 dimension.

Copy link

codecov bot commented Dec 27, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (70b8ae6) 98.90% compared to head (1fee52b) 98.86%.

Files Patch % Lines
blackjax/mcmc/mclmc.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #633      +/-   ##
==========================================
- Coverage   98.90%   98.86%   -0.04%     
==========================================
  Files          59       59              
  Lines        2738     2740       +2     
==========================================
+ Hits         2708     2709       +1     
- Misses         30       31       +1     

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

@junpenglao junpenglao merged commit 2c1d779 into blackjax-devs:main Dec 27, 2023
5 of 7 checks passed
junpenglao pushed a commit that referenced this pull request Mar 12, 2024
* PREVENT 1D DISTRIBUTION

* PREVENT 1D DISTRIBUTION
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