Browse Source

lingering PlainObjectBase copy

Former-commit-id: e5a6640c45991acb96ee48c3681508a575731713
Alec Jacobson 7 years ago
parent
commit
d1d0918e9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/AABB.cpp

+ 1 - 1
include/igl/AABB.cpp

@@ -401,7 +401,7 @@ igl::AABB<DerivedV,DIM>::squared_distance(
     const auto & look_right = [&]()
     {
       int i_right;
-      Eigen::PlainObjectBase<RowVectorDIMS> c_right = c;
+      RowVectorDIMS c_right = c;
       Scalar sqr_d_right = 
         m_right->squared_distance(V,Ele,p,low_sqr_d,sqr_d,i_right,c_right);
       this->set_min(p,sqr_d_right,i_right,c_right,sqr_d,i,c);