浏览代码

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