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

Conversation

welann
Copy link
Contributor

@welann welann commented Jan 7, 2023

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, and I've unified them.

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.
@netlify
Copy link

netlify bot commented Jan 7, 2023

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit ebf5cf2
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63b9bfa57b00ff000848c565
😎 Deploy Preview https://deploy-preview-7094--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@CLAassistant
Copy link

CLAassistant commented Jan 7, 2023

CLA assistant check
All committers have signed the CLA.

@welann welann changed the title [doc]Modified some errors in the function examples [doc] Modified some errors in the function examples Jan 8, 2023
@lin-hitonami lin-hitonami added this to the v1.4.0 milestone Jan 9, 2023
@lin-hitonami
Copy link
Contributor

@neozhaoliang Could you check whether these modifications are correct? If they are correct, the PR should be merged before 1.4.0 releases.

Copy link
Contributor

@neozhaoliang neozhaoliang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for these corrections!

@neozhaoliang neozhaoliang merged commit f75e155 into taichi-dev:master Jan 9, 2023
@welann welann deleted the patch-1 branch January 9, 2023 10:44
lin-hitonami pushed a commit to lin-hitonami/taichi that referenced this pull request Jan 11, 2023
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, and I've unified them.
lin-hitonami pushed a commit to lin-hitonami/taichi that referenced this pull request Jan 12, 2023
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, and I've unified them.
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
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, and I've unified them.
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 this pull request may close these issues.

4 participants