Browse Source

fix hessian

KarlLeell 6 years ago
parent
commit
32e8366702
1 changed files with 2 additions and 2 deletions
  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());