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

[doc] Modified some errors in the function examples #7094

Merged
merged 1 commit into from
Jan 9, 2023

Commits on Jan 7, 2023

  1. Modified some errors in the function examples

    I found this while using ti.math.sign(), the description confused me
    >>> x = ti.Vector([-1.0, 0.0, 1.0])
    >>> ti.sign(x)
        [0.8, 0.3, 0.3, 0.2]
    then found more wrong information in mathimpl.py, there exists three writting styles, andI've unified them.
    welann committed Jan 7, 2023
    Configuration menu
    Copy the full SHA
    ebf5cf2 View commit details
    Browse the repository at this point in the history