From f8bfe1061398f03b97a6313dd85dffc41454ee64 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 6 Nov 2016 15:20:30 +0100 Subject: [PATCH] Add missing friend declaration --- Eigen/src/SparseCore/SparseMatrix.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Eigen/src/SparseCore/SparseMatrix.h b/Eigen/src/SparseCore/SparseMatrix.h index 64ca5fc44..ec650b270 100644 --- a/Eigen/src/SparseCore/SparseMatrix.h +++ b/Eigen/src/SparseCore/SparseMatrix.h @@ -94,6 +94,7 @@ class SparseMatrix { typedef SparseCompressedBase Base; using Base::convert_index; + friend class SparseVector<_Scalar,0,_Index>; public: using Base::isCompressed; using Base::nonZeros;