Sfoglia il codice sorgente

rm PlainObjectBase constructors

Former-commit-id: 8fd9c3856ddf88bf40793abf39a7a8786266fda2
Alec Jacobson 8 anni fa
parent
commit
f592c904d5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      include/igl/opengl2/project.cpp

+ 1 - 1
include/igl/opengl2/project.cpp

@@ -53,7 +53,7 @@ template <typename Derivedobj>
 IGL_INLINE Eigen::PlainObjectBase<Derivedobj> igl::opengl2::project(
   const Eigen::PlainObjectBase<Derivedobj> & obj)
 {
-  Eigen::PlainObjectBase<Derivedobj> win;
+  Derivedobj win;
   igl::opengl2::project(obj,win);
   return win;
 }