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

[Lang] Support passing numpy arrays to ti.Matrix constructor #1044

Merged
merged 1 commit into from May 23, 2020

Conversation

k-ye
Copy link
Member

@k-ye k-ye commented May 23, 2020

So that we don't have to convert np.array to list first.. See the changes in the cornell box example.

Related issue = #1008

[Click here for the format server]

Copy link
Member

@yuanming-hu yuanming-hu left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks!

@yuanming-hu yuanming-hu merged commit d0b80e1 into taichi-dev:master May 23, 2020
@k-ye k-ye deleted the mat branch May 24, 2020 00:01
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.

None yet

2 participants