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

Use multiplier to make rw non-centred #748

Closed
wants to merge 2 commits into from
Closed

Use multiplier to make rw non-centred #748

wants to merge 2 commits into from

Conversation

seabbs
Copy link
Contributor

@seabbs seabbs commented Aug 19, 2024

This is a small PR that tests making the random walk non-centred.

@seabbs
Copy link
Contributor Author

seabbs commented Aug 20, 2024

This doesn't look like it works when bp_sd is length 0 so won't be feasible for us

@seabbs seabbs closed this Aug 20, 2024
auto-merge was automatically disabled August 20, 2024 11:35

Pull request was closed

@sbfnk
Copy link
Contributor

sbfnk commented Sep 3, 2024

Could we not use something like

  array[bp_n] real<multiplier = (length(bp_sd > 0) ? bp_sd[1] : 0)> bp_effects;                   // Rt breakpoint effects

@seabbs
Copy link
Contributor Author

seabbs commented Sep 3, 2024

Maybe though I have no idea of what a multiplier of 0 does?

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