From e20d84b1eea93d40afe58b7756f50ba072347b4b Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Sun, 16 Feb 2014 12:30:09 -0500 Subject: [PATCH] Fix gross bug in VectorBase --- Base/include/VectorBase.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Base/include/VectorBase.h b/Base/include/VectorBase.h index dc78d01..55cc707 100644 --- a/Base/include/VectorBase.h +++ b/Base/include/VectorBase.h @@ -170,8 +170,8 @@ namespace FasTC { VectorSwitch(const TypeOne &a, const TypeTwo &b) : m_A(a), m_B(b) { } - const TypeOne &GetVector() { return m_A; } - const TypeTwo &GetScalar() { return m_B; } + const VectorType &GetVector() { return m_A; } + const ScalarType &GetScalar() { return m_B; } }; template @@ -187,8 +187,8 @@ namespace FasTC { VectorSwitch(const TypeOne &a, const TypeTwo &b) : m_A(a), m_B(b) { } - const TypeOne &GetVector() { return m_B; } - const TypeTwo &GetScalar() { return m_A; } + const VectorType &GetVector() { return m_B; } + const ScalarType &GetScalar() { return m_A; } }; template