-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Lang] ti.sqr(x) is now deprecated: please use x ** 2 instead #937
Conversation
sgtm, thx, also consider: |
Thanks. It's actually already deprecated: Given there are quite a few other repos using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank for the hard work! I believe you've grep -wr 'ti.sqr' examples
'ed, if so, LGTM now.
Feel free to merge this now. |
Thanks. |
I have no idea why, but this PR made |
me too. I tweaked Seems it's |
I realized why! Because |
Ah i see, thx! Yep I changed to
Unfortunately no, but i guess it's not supposed to help in this case... |
Related issue = #833
People tend to think
sqr
means square root instead of square (https://forum.taichi.graphics/t/what-the-result-of-ti-sqr-x-x-is-a-vector-if-any-element-of-x-is-negative/125/3).Fortunately, we have
** 2
now thanks to @archibate...[Click here for the format server]