diff --git a/include/seqan3/alignment/matrix/detail/debug_matrix.hpp b/include/seqan3/alignment/matrix/detail/debug_matrix.hpp index 3205f11ba2..302dff33a4 100644 --- a/include/seqan3/alignment/matrix/detail/debug_matrix.hpp +++ b/include/seqan3/alignment/matrix/detail/debug_matrix.hpp @@ -494,7 +494,7 @@ struct alignment_matrix_printer requires detail::is_type_specialisation_of_v constexpr void operator()(stream_t & stream, arg_t && arg) const { - print_impl(stream.get_underlying_stream(), stream.flags2(), std::forward(matrix)); + print_impl(stream.get_underlying_stream(), stream.flags2(), std::forward(arg)); } /*!\brief Prints the alignment matrix into the given stream using ascii formatting. @@ -510,7 +510,7 @@ struct alignment_matrix_printer template constexpr void operator()(stream_t & stream, arg_t && arg) const { - print_impl(stream, fmtflags2::none, std::forward(matrix)); + print_impl(stream, fmtflags2::none, std::forward(arg)); } private: