Commit 62d7361f authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Release the constraint on In/OutGridDesc

parent 9f734b3c
...@@ -104,7 +104,8 @@ template <typename InGridDesc, ...@@ -104,7 +104,8 @@ template <typename InGridDesc,
index_t OutScalarPerVector> index_t OutScalarPerVector>
struct GridwisePermute struct GridwisePermute
{ {
static_assert(InGridDesc::GetNumOfDimension() == 3 && OutGridDesc::GetNumOfDimension() == 3); static_assert(InGridDesc::GetNumOfDimension() == OutGridDesc::GetNumOfDimension());
static_assert(3 <= InGridDesc::GetNumOfDimension());
static constexpr auto I0 = Number<0>{}; static constexpr auto I0 = Number<0>{};
static constexpr auto I1 = Number<1>{}; static constexpr auto I1 = Number<1>{};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment