Эх сурвалжийг харах

rm PlainObjectBase constructors

Former-commit-id: 8fd9c3856ddf88bf40793abf39a7a8786266fda2
Alec Jacobson 8 жил өмнө
parent
commit
f592c904d5

+ 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;
 }