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

Add trace function for matrix types #280

Merged
merged 3 commits into from
Nov 16, 2022

Conversation

zhai-xiao
Copy link
Contributor

Add trace function for matrix types

Signed-off-by: Xiao Zhai [email protected]

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 13, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: zhai-xiao / name: Xiao Zhai (db49205)

@cary-ilm
Copy link
Member

Thanks for the contribution. Could you kindly add a test for trace() in src/ImathTest/testMatrix.cpp?

src/Imath/ImathMatrixAlgo.h Outdated Show resolved Hide resolved
@zhai-xiao
Copy link
Contributor Author

Thanks for the contribution. Could you kindly add a test for trace() in src/ImathTest/testMatrix.cpp?

Sure thing, tests added! Also I reverted the error I introduced in ImathMatrixAlgo.h. Thanks for reviewing @cary-ilm

Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

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

LGTM

@cary-ilm cary-ilm merged commit 0436624 into AcademySoftwareFoundation:main Nov 16, 2022
cary-ilm pushed a commit to cary-ilm/Imath that referenced this pull request Feb 27, 2023
* Add trace function for matrix types

Signed-off-by: Xiao Zhai <[email protected]>

* Add tests for the matrix trace function

Signed-off-by: Xiao Zhai <[email protected]>

* Fix issue in extractQuat introduced by incorrect use of matrix trace

Signed-off-by: Xiao Zhai <[email protected]>

Signed-off-by: Xiao Zhai <[email protected]>
cary-ilm pushed a commit that referenced this pull request Feb 28, 2023
* Add trace function for matrix types

Signed-off-by: Xiao Zhai <[email protected]>

* Add tests for the matrix trace function

Signed-off-by: Xiao Zhai <[email protected]>

* Fix issue in extractQuat introduced by incorrect use of matrix trace

Signed-off-by: Xiao Zhai <[email protected]>

Signed-off-by: Xiao Zhai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants