Skip to content

Commit

Permalink
Fixed base operator types
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffburdick committed Aug 8, 2024
1 parent 39b4372 commit 7a10d35
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/matx/operators/at.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace matx
class AtOp : public BaseOp<AtOp<Op, Is...>>
{
private:
Op op_;
typename base_type<Op>::type op_;
cuda::std::array<index_t, sizeof...(Is)> idx_;

public:
Expand Down
2 changes: 1 addition & 1 deletion include/matx/operators/concat.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ namespace matx
}

private:
cuda::std::tuple<Ts...> ops_;
cuda::std::tuple<typename base_type<Ts>::type ...> ops_;
index_t size_;
int axis_;
}; // end class ConcatOp
Expand Down
2 changes: 1 addition & 1 deletion include/matx/operators/frexp.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace detail {
class FrexpOp : public BaseOp<FrexpOp<OpA, WHICH>>
{
private:
OpA a_;
typename base_type<OpA>::type a_;

public:
using matxop = bool;
Expand Down
2 changes: 1 addition & 1 deletion include/matx/operators/reshape.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace matx
using value_type = typename T::value_type;

private:
T op_;
typename base_type<T>::type op_;
ShapeType sizes_;

public:
Expand Down
2 changes: 1 addition & 1 deletion include/matx/operators/stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ namespace matx
}

private:
cuda::std::tuple<Ts...> ops_;
cuda::std::tuple<typename base_type<Ts>::type ...> ops_;
index_t size_;
int axis_;
}; // end class StackOp
Expand Down

0 comments on commit 7a10d35

Please sign in to comment.