Skip to content

Fix a bug in warping.h #356

Description

@morousg

The code:

template<WarpType WT, typename BackIOp_ = NullType>
struct Warping {
    static_assert(isAnyCompleteReadType<BackIOp_>, "BackIOp must be a complete type for this specialization");
private:
    using SelfType = Warping<WT, BackIOp_>;
public:
    FK_STATIC_STRUCT(Warping, SelfType)
    using Parent = ReadBackOperation<typename BackIOp_::Operation::ReadDataType,
                                     WarpingParameters<WT>,
                                     BackIOp_,
                                     float_<cn<typename BackIOp_::Operation::ReadInputType>>,
                                     Warping<WT, BackIOp_>>;

Should be:

template<WarpType WT, typename BackIOp_ = NullType>
struct Warping {
    static_assert(isAnyCompleteReadType<BackIOp_>, "BackIOp must be a complete type for this specialization");
private:
    using SelfType = Warping<WT, BackIOp_>;
public:
    FK_STATIC_STRUCT(Warping, SelfType)
    using Parent = ReadBackOperation<typename BackIOp_::Operation::ReadDataType,
                                     WarpingParameters<WT>,
                                     BackIOp_,
                                     float_<cn<typename BackIOp_::Operation::OutputType>>,
                                     Warping<WT, BackIOp_>>;

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions