Skip to content

Commit

Permalink
changed template
Browse files Browse the repository at this point in the history
  • Loading branch information
qinatan committed Aug 23, 2023
1 parent ed7ae25 commit 8d7f50b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/micm/util/cuda_matrix_param.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include <micm/util/vector_matrix.hpp>
namespace micm{
class CUDAMatrixParam{
public:
Expand All @@ -13,7 +12,7 @@ namespace micm{
size_t jacobian_size_;
//constructor
public:
template<size_t L>
template<template<class> class VectorMatrix, size_t L>
CUDAMatrixParam(const VectorMatrix<double, L>& rate_constants, const VectorMatrix<double, L>& state_variables, VectorMatrix<double,L>& forcing){
rate_constants_ = rate_constants.AsVector().data();
state_variables_= state_variables.AsVector().data();
Expand Down

0 comments on commit 8d7f50b

Please sign in to comment.