From 69a7897e7288cd06ff2997caf007e743343dc29d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 6 Oct 2015 17:21:24 +0200 Subject: [PATCH] Fix storage index type in empty permutations --- Eigen/src/SparseCore/SparseSelfAdjointView.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/SparseCore/SparseSelfAdjointView.h b/Eigen/src/SparseCore/SparseSelfAdjointView.h index b0c2e472e..97e7293c7 100644 --- a/Eigen/src/SparseCore/SparseSelfAdjointView.h +++ b/Eigen/src/SparseCore/SparseSelfAdjointView.h @@ -137,14 +137,14 @@ template class SparseSelfAdjointView SparseSelfAdjointView& operator=(const SparseSelfAdjointView& src) { - PermutationMatrix pnull; + PermutationMatrix pnull; return *this = src.twistedBy(pnull); } template SparseSelfAdjointView& operator=(const SparseSelfAdjointView& src) { - PermutationMatrix pnull; + PermutationMatrix pnull; return *this = src.twistedBy(pnull); }