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