JohannesBuchner / UltraNest

Fit and compare complex models reliably and rapidly. Advanced nested sampling.
https://johannesbuchner.github.io/UltraNest/
Other
142 stars 30 forks source link

use cpow director to ensure cython 3 compatibility #103

Closed ahnitz closed 1 year ago

ahnitz commented 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.

JohannesBuchner commented 1 year ago

Yeah, I'd also prefer @PieterVuylsteke's, because it is more explicit.

ahnitz commented 1 year ago

Ok, makes sense. Closing this.

JohannesBuchner commented 1 year ago

feel free to make a new PR though