From dcf5468b295de2b9f901edf9301050331af473bc Mon Sep 17 00:00:00 2001 From: Mavo Date: Mon, 20 Jun 2016 11:40:07 +0200 Subject: [PATCH] Fixed linker error with static function Former-commit-id: 95e220763d537009605c3676e857472ee9ace018 --- src/adapters/EigenAdapter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/adapters/EigenAdapter.cpp b/src/adapters/EigenAdapter.cpp index aebdcd0ef..eb2199945 100644 --- a/src/adapters/EigenAdapter.cpp +++ b/src/adapters/EigenAdapter.cpp @@ -4,7 +4,7 @@ namespace storm { namespace adapters { template - static std::unique_ptr> toEigenSparseMatrix(storm::storage::SparseMatrix const& matrix) { + std::unique_ptr> EigenAdapter::toEigenSparseMatrix(storm::storage::SparseMatrix const& matrix) { // Build a list of triplets and let Eigen care about the insertion. std::vector> triplets; triplets.reserve(matrix.getNonzeroEntryCount()); @@ -20,6 +20,6 @@ namespace storm { return result; } - template std::unique_ptr> toEigenSparseMatrix(storm::storage::SparseMatrix const& matrix); + template std::unique_ptr> EigenAdapter::toEigenSparseMatrix(storm::storage::SparseMatrix const& matrix); } -} \ No newline at end of file +}