소스 검색

rm PlainObjectBase constructors

Former-commit-id: 8fd9c3856ddf88bf40793abf39a7a8786266fda2
Alec Jacobson 8 년 전
부모
커밋
f592c904d5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
 }