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

allow for fixed(positive(1.0)) - apply value recursively? #45

Closed
st-- opened this issue Nov 9, 2021 · 1 comment · Fixed by #50
Closed

allow for fixed(positive(1.0)) - apply value recursively? #45

st-- opened this issue Nov 9, 2021 · 1 comment · Fixed by #50

Comments

@st--
Copy link
Member

st-- commented Nov 9, 2021

To allow for specifying both that a parameter should be positive, and is currently not to be optimised over, it'd be great to support fixed(positive(1.0)). This could be achieved by applying value recursively (or at least twice, perhaps special-casing for fixed?).

Happy to provide a PR if you'd be willing to include it.

@willtebbutt
Copy link
Member

A PR would be very welcome :)

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 a pull request may close this issue.

2 participants