From faee3285be33dd1b52d9adca5c6b62878d99a83f Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Thu, 19 Jan 2012 11:27:13 +0100
Subject: [PATCH] fixed a compile bug

---
 MathLib/LinAlg/Sparse/CRSMatrix.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MathLib/LinAlg/Sparse/CRSMatrix.h b/MathLib/LinAlg/Sparse/CRSMatrix.h
index 507cbabcd27..d4223919193 100644
--- a/MathLib/LinAlg/Sparse/CRSMatrix.h
+++ b/MathLib/LinAlg/Sparse/CRSMatrix.h
@@ -232,7 +232,7 @@ public:
 
 	CRSMatrix<FP_TYPE, IDX_TYPE>* getTranspose() const
 	{
-		CRSMatrix<FP_TYPE, IDX_TYPE>* transposed_mat(new CRSMatrix<FP_TYPE, IDX_TYPE>(this));
+		CRSMatrix<FP_TYPE, IDX_TYPE>* transposed_mat(new CRSMatrix<FP_TYPE, IDX_TYPE>(*this));
 		transposed_mat->transpose();
 		return transposed_mat;
 	}
@@ -255,7 +255,7 @@ protected:
 			_col_idx[k] = col_idx[k];
 		}
 
-		FP_TYPE const*const data(rhs.getData());
+		FP_TYPE const*const data(rhs.getEntryArray());
 		for	(IDX_TYPE k(0); k<nnz; k++) {
 			_data[k] = data[k];
 		}
-- 
GitLab