From 6780843d9da05e5f7bebab2bda9dd437cc4a1909 Mon Sep 17 00:00:00 2001 From: Phyrexian Date: Thu, 5 Mar 2020 14:26:18 +0000 Subject: [PATCH] fixed a/an use in Matrix33 and Matrix44 Signed-off-by: Phyrexian --- PyIlmBase/PyImath/PyImathMatrix33.cpp | 4 ++-- PyIlmBase/PyImath/PyImathMatrix44.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PyIlmBase/PyImath/PyImathMatrix33.cpp b/PyIlmBase/PyImath/PyImathMatrix33.cpp index 3046cad6c1..c464b60680 100644 --- a/PyIlmBase/PyImath/PyImathMatrix33.cpp +++ b/PyIlmBase/PyImath/PyImathMatrix33.cpp @@ -899,9 +899,9 @@ register_Matrix33() .def("transpose",&Matrix33::transpose,return_internal_reference<>(),"transpose() transpose this matrix") .def("transposed",&Matrix33::transposed,"transposed() return a transposed copy of this matrix") .def("invert",&invert33,invert33_overloads("invert() invert this matrix")[return_internal_reference<>()]) - .def("inverse",&inverse33,inverse33_overloads("inverse() return a inverted copy of this matrix")) + .def("inverse",&inverse33,inverse33_overloads("inverse() return an inverted copy of this matrix")) .def("gjInvert",&gjInvert33,gjInvert33_overloads("gjInvert() invert this matrix")[return_internal_reference<>()]) - .def("gjInverse",&gjInverse33,gjInverse33_overloads("gjInverse() return a inverted copy of this matrix")) + .def("gjInverse",&gjInverse33,gjInverse33_overloads("gjInverse() return an inverted copy of this matrix")) .def("minorOf",&Matrix33::minorOf,"minorOf() return the matrix minor of the (row,col) element of this matrix") .def("fastMinor",&Matrix33::fastMinor,"fastMinor() return the matrix minor using the specified rows and columns of this matrix") .def("determinant",&Matrix33::determinant,"determinant() return the determinant of this matrix") diff --git a/PyIlmBase/PyImath/PyImathMatrix44.cpp b/PyIlmBase/PyImath/PyImathMatrix44.cpp index fa0276ad30..2cfe84ee7c 100644 --- a/PyIlmBase/PyImath/PyImathMatrix44.cpp +++ b/PyIlmBase/PyImath/PyImathMatrix44.cpp @@ -1001,9 +1001,9 @@ register_Matrix44() .def("fastMinor",&Matrix44::fastMinor,"fastMinor() return matrix minor using the specified rows and columns of this matrix") .def("determinant",&Matrix44::determinant,"determinant() return the determinant of this matrix") .def("invert",&invert44,invert44_overloads("invert() invert this matrix")[return_internal_reference<>()]) - .def("inverse",&inverse44,inverse44_overloads("inverse() return a inverted copy of this matrix")) + .def("inverse",&inverse44,inverse44_overloads("inverse() return an inverted copy of this matrix")) .def("gjInvert",&gjInvert44,gjInvert44_overloads("gjInvert() invert this matrix")[return_internal_reference<>()]) - .def("gjInverse",&gjInverse44,gjInverse44_overloads("gjInverse() return a inverted copy of this matrix")) + .def("gjInverse",&gjInverse44,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,return_internal_reference<>())