@@ -33,7 +33,7 @@ template <int KIND>
3333static void testBesselJn (BesselFuncType<KIND> rtFunc, int32_t n1, int32_t n2,
3434 CppTypeFor<TypeCategory::Real, KIND> x,
3535 const std::vector<CppTypeFor<TypeCategory::Real, KIND>> &expected) {
36- StaticDescriptor< 1 > desc;
36+ StaticDescriptor desc;
3737 Descriptor &result{desc.descriptor ()};
3838 unsigned len = expected.size ();
3939
@@ -60,7 +60,7 @@ static void testBesselJn(BesselFuncType<KIND> rtFunc, int32_t n1, int32_t n2,
6060template <int KIND>
6161static void testBesselJnX0 (
6262 BesselX0FuncType<KIND> rtFunc, int32_t n1, int32_t n2) {
63- StaticDescriptor< 1 > desc;
63+ StaticDescriptor desc;
6464 Descriptor &result{desc.descriptor ()};
6565
6666 rtFunc (result, n1, n2, __FILE__, __LINE__);
@@ -131,7 +131,7 @@ template <int KIND>
131131static void testBesselYn (BesselFuncType<KIND> rtFunc, int32_t n1, int32_t n2,
132132 CppTypeFor<TypeCategory::Real, KIND> x,
133133 const std::vector<CppTypeFor<TypeCategory::Real, KIND>> &expected) {
134- StaticDescriptor< 1 > desc;
134+ StaticDescriptor desc;
135135 Descriptor &result{desc.descriptor ()};
136136 unsigned len = expected.size ();
137137
@@ -158,7 +158,7 @@ static void testBesselYn(BesselFuncType<KIND> rtFunc, int32_t n1, int32_t n2,
158158template <int KIND>
159159static void testBesselYnX0 (
160160 BesselX0FuncType<KIND> rtFunc, int32_t n1, int32_t n2) {
161- StaticDescriptor<1 > desc;
161+ StaticDescriptor<2 > desc;
162162 Descriptor &result{desc.descriptor ()};
163163
164164 rtFunc (result, n1, n2, __FILE__, __LINE__);
@@ -383,7 +383,7 @@ TEST(Transformational, Pack) {
383383 std::vector<std::uint8_t >{false , true , true , false , false , true })};
384384 mask->GetDimension (0 ).SetLowerBound (0 ); // shouldn't matter
385385 mask->GetDimension (1 ).SetLowerBound (2 );
386- StaticDescriptor<1 , true > statDesc;
386+ StaticDescriptor<maxRank , true > statDesc;
387387 Descriptor &result{statDesc.descriptor ()};
388388
389389 RTNAME (Pack)(result, *array, *mask, nullptr , __FILE__, __LINE__);
0 commit comments