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

Failed to converge when add conditional range #15

Open
bink24 opened this issue Aug 21, 2023 · 0 comments
Open

Failed to converge when add conditional range #15

bink24 opened this issue Aug 21, 2023 · 0 comments

Comments

@bink24
Copy link

bink24 commented Aug 21, 2023

Hi @adam-hanna , I have a question regarding the variable fn.
Is it possible to add conditional range as following code?

var fn = (x, y, z) => {
    x = z - y + (
        z >= 0 && z <=  10000 ? 10 : (
            z >= 10001 && z <= 20000 ? 20 : 0
        )
    )
}

I tried, it always return "failed to converge".
Thanks.

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

No branches or pull requests

1 participant