From a9e80c6da34c1bf34840a1316323ebe647b3fa15 Mon Sep 17 00:00:00 2001 From: Cary Phillips Date: Thu, 18 May 2023 19:13:30 -0700 Subject: [PATCH] Add missing IMATH_HOSTDEVICE to Matrix33::invert(bool) PR #198 added IMATH_HOSTDEVICE to the RB-3.1 branch, and PR #202 cherry-picked the change into main, but that cherry-pick somehow lost the IMATH_HOSTDEVICE on Matrix33::invert(bool). Signed-off-by: Cary Phillips --- src/Imath/ImathMatrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Imath/ImathMatrix.h b/src/Imath/ImathMatrix.h index be95b05c..3f2e4c36 100644 --- a/src/Imath/ImathMatrix.h +++ b/src/Imath/ImathMatrix.h @@ -2828,7 +2828,7 @@ Matrix33::gjInverse () const IMATH_NOEXCEPT } template -IMATH_CONSTEXPR14 inline const Matrix33& +IMATH_HOSTDEVICE IMATH_CONSTEXPR14 inline const Matrix33& Matrix33::invert (bool singExc) { *this = inverse (singExc);