Skip to content

Commit

Permalink
Fix dynamic transposed_view (#756)
Browse files Browse the repository at this point in the history
Just a little typo
  • Loading branch information
sdebionne authored Sep 18, 2024
1 parent 8fd5cc5 commit e5f5bce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ struct rotated90ccw_view_fn
};

template <typename ResultView>
struct tranposed_view_fn
struct transposed_view_fn
{
using result_type = ResultView;

template <typename View>
auto operator()(View const& src) const -> result_type
{
return result_type{tranposed_view(src)};
return result_type{transposed_view(src)};
}
};

Expand Down Expand Up @@ -196,7 +196,7 @@ auto transposed_view(any_image_view<Views...> const& src)
-> typename dynamic_xy_step_transposed_type<any_image_view<Views...>>::type
{
using result_view_t = typename dynamic_xy_step_transposed_type<any_image_view<Views...>>::type;
return variant2::visit(detail::tranposed_view_fn<result_view_t>(), src);
return variant2::visit(detail::transposed_view_fn<result_view_t>(), src);
}

/// \ingroup ImageViewTransformations90CW
Expand Down

0 comments on commit e5f5bce

Please sign in to comment.