From 73c35ebd740771768229e36d3651456c8f143e5c Mon Sep 17 00:00:00 2001
From: Hui Wang <wanghehv@sjtu.edu.cn>
Date: Fri, 18 Feb 2022 23:24:22 +0800
Subject: [PATCH] fix cmu462 lib

---
 CMU462/include/CMU462/vector4D.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMU462/include/CMU462/vector4D.h b/CMU462/include/CMU462/vector4D.h
index 2492c26..e06b896 100755
--- a/CMU462/include/CMU462/vector4D.h
+++ b/CMU462/include/CMU462/vector4D.h
@@ -99,7 +99,7 @@ class Vector4D {
 
   // addition / assignment
   inline void operator+=( const Vector4D& v ) {
-    x += v.x; y += v.y; z += v.z; z += v.w;
+    x += v.x; y += v.y; z += v.z; w += v.w;
   }
 
   // subtraction / assignment
-- 
GitLab