Skip to content

Commit

Permalink
Add missing IMATH_HOSTDEVICE to Matrix33<T>::invert(bool)
Browse files Browse the repository at this point in the history
PR AcademySoftwareFoundation#198 added IMATH_HOSTDEVICE to the RB-3.1 branch, and PR AcademySoftwareFoundation#202
cherry-picked the change into main, but that cherry-pick somehow lost
the IMATH_HOSTDEVICE on Matrix33<T>::invert(bool).

Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm committed May 19, 2023
1 parent 0202864 commit a9e80c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Imath/ImathMatrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -2828,7 +2828,7 @@ Matrix33<T>::gjInverse () const IMATH_NOEXCEPT
}

template <class T>
IMATH_CONSTEXPR14 inline const Matrix33<T>&
IMATH_HOSTDEVICE IMATH_CONSTEXPR14 inline const Matrix33<T>&
Matrix33<T>::invert (bool singExc)
{
*this = inverse (singExc);
Expand Down

0 comments on commit a9e80c6

Please sign in to comment.