diff --git a/math/pdal/files/patch-vendor_kazhdan_Ply.h b/math/pdal/files/patch-vendor_kazhdan_Ply.h new file mode 100644 index 000000000000..2ec2a38292d4 --- /dev/null +++ b/math/pdal/files/patch-vendor_kazhdan_Ply.h @@ -0,0 +1,20 @@ +--- vendor/kazhdan/Ply.h.orig 2024-06-29 01:37:43 UTC ++++ vendor/kazhdan/Ply.h +@@ -317,7 +317,7 @@ class PlyOrientedVertex (public) + PlyOrientedVertex( void ) { ; } + PlyOrientedVertex( Point3D< Real > p , Point3D< Real > n ) : point(p) , normal(n) { ; } + PlyOrientedVertex operator + ( PlyOrientedVertex p ) const { return PlyOrientedVertex( point+p.point , normal+p.normal ); } +- PlyOrientedVertex operator - ( PlyOrientedVertex p ) const { return PlyOrientedVertex( point-p.value , normal-p.normal ); } ++ PlyOrientedVertex operator - ( PlyOrientedVertex p ) const { return PlyOrientedVertex( point-p.point , normal-p.normal ); } + template< class _Real > PlyOrientedVertex operator * ( _Real s ) const { return PlyOrientedVertex( point*s , normal*s ); } + template< class _Real > PlyOrientedVertex operator / ( _Real s ) const { return PlyOrientedVertex( point/s , normal/s ); } + PlyOrientedVertex& operator += ( PlyOrientedVertex p ) { point += p.point , normal += p.normal ; return *this; } +@@ -363,7 +363,7 @@ class PlyColorVertex (public) + } + + _PlyColorVertex operator + ( _PlyColorVertex p ) const { return _PlyColorVertex( point+p.point , color+p.color ); } +- _PlyColorVertex operator - ( _PlyColorVertex p ) const { return _PlyColorVertex( point-p.value , color-p.color ); } ++ _PlyColorVertex operator - ( _PlyColorVertex p ) const { return _PlyColorVertex( point-p.point , color-p.color ); } + template< class _Real > _PlyColorVertex operator * ( _Real s ) const { return _PlyColorVertex( point*s , color*s ); } + template< class _Real > _PlyColorVertex operator / ( _Real s ) const { return _PlyColorVertex( point/s , color/s ); } + _PlyColorVertex& operator += ( _PlyColorVertex p ) { point += p.point , color += p.color ; return *this; } diff --git a/math/pdal/files/patch-vendor_kazhdan_SparseMatrix.h b/math/pdal/files/patch-vendor_kazhdan_SparseMatrix.h new file mode 100644 index 000000000000..9152361e68bb --- /dev/null +++ b/math/pdal/files/patch-vendor_kazhdan_SparseMatrix.h @@ -0,0 +1,11 @@ +--- vendor/kazhdan/SparseMatrix.h.orig 2024-06-29 01:37:43 UTC ++++ vendor/kazhdan/SparseMatrix.h +@@ -67,8 +67,6 @@ template class SparseMatrix (public) + SparseMatrix( const SparseMatrix& M ); + ~SparseMatrix(); + +- void SetZero(); +- + SparseMatrix& operator = (const SparseMatrix& M); + + SparseMatrix operator * (const T& V) const; diff --git a/math/pdal/files/patch-vendor_kazhdan_SparseMatrix.inl b/math/pdal/files/patch-vendor_kazhdan_SparseMatrix.inl new file mode 100644 index 000000000000..c8aa440a1b36 --- /dev/null +++ b/math/pdal/files/patch-vendor_kazhdan_SparseMatrix.inl @@ -0,0 +1,16 @@ +--- vendor/kazhdan/SparseMatrix.inl.orig 2024-06-29 01:37:43 UTC ++++ vendor/kazhdan/SparseMatrix.inl +@@ -188,13 +188,6 @@ void SparseMatrix< T >::SetRowSize( int row , int coun + } + } + +- +-template +-void SparseMatrix::SetZero() +-{ +- Resize(this->m_N, this->m_M); +-} +- + template + SparseMatrix SparseMatrix::operator * (const T& V) const + {