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

why non-negative for node.sum #199

Open
Benbinbin opened this issue Nov 24, 2022 · 0 comments
Open

why non-negative for node.sum #199

Benbinbin opened this issue Nov 24, 2022 · 0 comments

Comments

@Benbinbin
Copy link

the documentation say the value function at node.sum(value) must return the non-negative number

The function is passed the node’s data, and must return a non-negative number.

I don't know why limit the return number as a non-negative? I think the nagetive also make sense at some situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant