Преглед изворни кода

lingering PlainObjectBase copy

Former-commit-id: e5a6640c45991acb96ee48c3681508a575731713
Alec Jacobson пре 7 година
родитељ
комит
d1d0918e9f
1 измењених фајлова са 1 додато и 1 уклоњено
  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);