diff --git a/examples/profile_example.cpp b/examples/profile_example.cpp index 48f82d21c..25f380e5b 100644 --- a/examples/profile_example.cpp +++ b/examples/profile_example.cpp @@ -29,7 +29,7 @@ namespace fs = std::filesystem; using namespace micm; -template class MatrixType, template class SparseMatrixType> +template class MatrixType, class SparseMatrixType> int Run(const char* filepath, const char* initial_conditions, const std::string& matrix_ordering_type) { using SolverType = RosenbrockSolver; @@ -114,24 +114,9 @@ int Run(const char* filepath, const char* initial_conditions, const std::string& return 0; } -template -using SparseMatrixParam = micm::SparseMatrix; -template -using Vector1MatrixParam = micm::VectorMatrix; -template -using Vector10MatrixParam = micm::VectorMatrix; -template -using Vector100MatrixParam = micm::VectorMatrix; -template +template using Vector1000MatrixParam = micm::VectorMatrix; -template -using Vector1SparseMatrixParam = micm::SparseMatrix>; -template -using Vector10SparseMatrixParam = micm::SparseMatrix>; -template -using Vector100SparseMatrixParam = micm::SparseMatrix>; -template -using Vector1000SparseMatrixParam = micm::SparseMatrix>; +using Vector1000SparseMatrixParam = micm::SparseMatrix>; int main(const int argc, const char* argv[]) { diff --git a/test/unit/process/test_cuda_process_set.cpp b/test/unit/process/test_cuda_process_set.cpp index ba7cdb8e9..5516beefa 100644 --- a/test/unit/process/test_cuda_process_set.cpp +++ b/test/unit/process/test_cuda_process_set.cpp @@ -23,7 +23,7 @@ void compare_pair(const index_pair& a, const index_pair& b) EXPECT_EQ(a.second, b.second); } -template class CPUMatrixPolicy, template class GPUMatrixPolicy> +template class GPUMatrixPolicy> void testRandomSystemAddForcingTerms(std::size_t n_cells, std::size_t n_reactions, std::size_t n_species) { auto get_n_react = std::bind(std::uniform_int_distribution<>(0, 3), std::default_random_engine()); @@ -212,8 +212,7 @@ void testRandomSystemSubtractJacobianTerms(std::size_t n_cells, std::size_t n_re } } -template -using Group10000VectorMatrix = micm::VectorMatrix; +using Group10000VectorMatrix = micm::VectorMatrix; template using Group10000SparseVectorMatrix = micm::SparseMatrix>;