diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index d2e1bd20..ab503cdb 100644 --- a/glm/gtc/quaternion.inl +++ b/glm/gtc/quaternion.inl @@ -92,7 +92,7 @@ namespace detail z(static_cast(l.begin()[2])), w(static_cast(l.begin()[3])) { - assert(v.size() >= this->length()); + assert(l.size() >= this->length()); } #endif//GLM_HAS_INITIALIZER_LISTS