Closed ahnitz closed 1 year ago
A possibly better alternative was suggested in https://github.com/JohannesBuchner/UltraNest/issues/102 by @PieterVuylsteke.
This is a quick fix that may also work, please close this if the alternative is accepted. I did check that this seems to work in both cython3 and cython 0.29 so it's at least backwards compatible with the most relevant versions.
Yeah, I'd also prefer @PieterVuylsteke's, because it is more explicit.
Ok, makes sense. Closing this.
feel free to make a new PR though
A possibly better alternative was suggested in https://github.com/JohannesBuchner/UltraNest/issues/102 by @PieterVuylsteke.
This is a quick fix that may also work, please close this if the alternative is accepted. I did check that this seems to work in both cython3 and cython 0.29 so it's at least backwards compatible with the most relevant versions.