Skip to content

Conversation

sethaxen
Copy link
Member

This PR makes ess and sup_ess properties of Psis instead of fields, so that they are lazily computed only if necessary instead of in each psis call. It also fixes some potential issues where variables of one type are then aliased to have a different type, which may cause issues with type inference (it did in older Julia versions at least) and also makes the code more complicated.

@sethaxen
Copy link
Member Author

Note that the test suite doesn't currently pass because due to some bugs on main. I fixed one in this PR, but not the other.

@sethaxen sethaxen mentioned this pull request Sep 27, 2021
@ParadaCarleton
Copy link
Member

(I merged my own PR that lets users skip ESS computations since I wanted to merge a handful of related changes in that PR, but I'm still open to switching to this implementation if we find a way to avoid duplicate computations.)

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