From f8b8242f26a7d4676cf8e5e195f3b6ba0335bcfc Mon Sep 17 00:00:00 2001
From: Larry Gritz <lg@larrygritz.com>
Date: Mon, 23 Sep 2024 12:35:36 -0700
Subject: [PATCH] fix: Typo in dual.h made invalid template DualStorage

Signed-off-by: Larry Gritz <lg@larrygritz.com>
---
 src/include/OSL/dual.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/OSL/dual.h b/src/include/OSL/dual.h
index a7b5e4063..60ec05ee8 100644
--- a/src/include/OSL/dual.h
+++ b/src/include/OSL/dual.h
@@ -204,7 +204,7 @@ class DualStorage<T, 3>
     : m_val(other.m_val)
     , m_dx(other.m_dx)
     , m_dy(other.m_dy)
-    , m_dz(other.dz)
+    , m_dz(other.m_dz)
     {}

     OSL_HOSTDEVICE constexpr const T& elem (ConstIndex<0>) const { return m_val; }
