소스 검색

missing clear

Former-commit-id: 436b55258b048ba6ea950f80eb6a26399338ff92
Alec Jacobson 8 년 전
부모
커밋
a49d14db2f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tutorial/703_Decimation/main.cpp

+ 1 - 0
tutorial/703_Decimation/main.cpp

@@ -67,6 +67,7 @@ int main(int argc, char * argv[])
 
     C.resize(E.rows(),V.cols());
     VectorXd costs(E.rows());
+    Q.clear();
     for(int e = 0;e<E.rows();e++)
     {
       double cost = e;