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

[bug] Fix recompilation of filling a matrix field with the same matrix #6951

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

strongoier
Copy link
Contributor

Issue: fix #6950

Brief Summary

The change to fill() in #6892 (skips turning a ti.Matrix into a tuple) accidentally disallows compilation caching when the argument is a ti.Matrix, which causes #6950. This PR puts that behavior back.

@netlify
Copy link

netlify bot commented Dec 21, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit a9c6a8b
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63a2d6cfad47780009ce3f4a
😎 Deploy Preview https://deploy-preview-6951--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.

@strongoier strongoier merged commit be15358 into taichi-dev:master Dec 22, 2022
@strongoier strongoier deleted the fix-6950 branch December 22, 2022 03:17
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
taichi-dev#6951)

Issue: fix taichi-dev#6950

### Brief Summary

The change to `fill()` in taichi-dev#6892 (skips turning a `ti.Matrix` into a
tuple) accidentally disallows compilation caching when the argument is a
`ti.Matrix`, which causes taichi-dev#6950. This PR puts that behavior back.
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.

The rasterizer example runs < 15 FPS
2 participants