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

[Fix] plateaus in correlators #247

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

jkuhl-uni
Copy link
Collaborator

Hi,
I was tidying some of my scripts, when I found that, to me, Corr.plateau() and Corr.set_prange() have a small inconsistency:
It is possible to have a plateau over just one timeslice with plateau(), but set_prange() rejects it.
Is this intentional?
IMO, it should be possible to also set [x,x] as a plateau range.

@jkuhl-uni jkuhl-uni requested a review from fjosw as a code owner December 5, 2024 17:25
@s-kuberski
Copy link
Collaborator

I agree, your fix should make the two consistent and indeed it makes sense to allow having a plateau range of a single time slice.

@fjosw fjosw merged commit b1448a2 into fjosw:develop Dec 5, 2024
9 checks passed
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.

3 participants