Skip to content

Commit

Permalink
fixed a/an use in Matrix33 and Matrix44
Browse files Browse the repository at this point in the history
Signed-off-by: Phyrexian <jarko.paska@gmail.com>
  • Loading branch information
JaroPaska authored and cary-ilm committed Mar 5, 2020
1 parent 560f7c2 commit 6780843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 6780843

Please sign in to comment.