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

fixed a/an use in Matrix33 and Matrix44 #680

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PyIlmBase/PyImath/PyImathMatrix33.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -899,9 +899,9 @@ register_Matrix33()
.def("transpose",&Matrix33<T>::transpose,return_internal_reference<>(),"transpose() transpose this matrix")
.def("transposed",&Matrix33<T>::transposed,"transposed() return a transposed copy of this matrix")
.def("invert",&invert33<T>,invert33_overloads("invert() invert this matrix")[return_internal_reference<>()])
.def("inverse",&inverse33<T>,inverse33_overloads("inverse() return a inverted copy of this matrix"))
.def("inverse",&inverse33<T>,inverse33_overloads("inverse() return an inverted copy of this matrix"))
.def("gjInvert",&gjInvert33<T>,gjInvert33_overloads("gjInvert() invert this matrix")[return_internal_reference<>()])
.def("gjInverse",&gjInverse33<T>,gjInverse33_overloads("gjInverse() return a inverted copy of this matrix"))
.def("gjInverse",&gjInverse33<T>,gjInverse33_overloads("gjInverse() return an inverted copy of this matrix"))
.def("minorOf",&Matrix33<T>::minorOf,"minorOf() return the matrix minor of the (row,col) element of this matrix")
.def("fastMinor",&Matrix33<T>::fastMinor,"fastMinor() return the matrix minor using the specified rows and columns of this matrix")
.def("determinant",&Matrix33<T>::determinant,"determinant() return the determinant of this matrix")
Expand Down
4 changes: 2 additions & 2 deletions PyIlmBase/PyImath/PyImathMatrix44.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1001,9 +1001,9 @@ register_Matrix44()
.def("fastMinor",&Matrix44<T>::fastMinor,"fastMinor() return matrix minor using the specified rows and columns of this matrix")
.def("determinant",&Matrix44<T>::determinant,"determinant() return the determinant of this matrix")
.def("invert",&invert44<T>,invert44_overloads("invert() invert this matrix")[return_internal_reference<>()])
.def("inverse",&inverse44<T>,inverse44_overloads("inverse() return a inverted copy of this matrix"))
.def("inverse",&inverse44<T>,inverse44_overloads("inverse() return an inverted copy of this matrix"))
.def("gjInvert",&gjInvert44<T>,gjInvert44_overloads("gjInvert() invert this matrix")[return_internal_reference<>()])
.def("gjInverse",&gjInverse44<T>,gjInverse44_overloads("gjInverse() return a inverted copy of this matrix"))
.def("gjInverse",&gjInverse44<T>,gjInverse44_overloads("gjInverse() return an inverted copy of this matrix"))
.def(self == self) // NOSONAR - suppress SonarCloud bug report.
.def(self != self) // NOSONAR - suppress SonarCloud bug report.
.def("__iadd__", &iadd44<T, float>,return_internal_reference<>())
Expand Down