Ver Fonte

fix hessian

KarlLeell há 6 anos atrás
pai
commit
32e8366702
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      include/igl/hessian.cpp

+ 2 - 2
include/igl/hessian.cpp

@@ -34,8 +34,8 @@ IGL_INLINE void igl::hessian(
 
     //Construct the combined gradient matric
     SparseMat G;
-    igl::grad(DerivedV(V),
-              DerivedF(F),
+    igl::grad(V,
+              F,
               G, false);
     SparseMat GG(F.rows(), dim*V.rows());
     GG.reserve(G.nonZeros());