diff --git a/benchmark/utils/formats.hpp b/benchmark/utils/formats.hpp index 87c8eac208e..deecc4b530c 100644 --- a/benchmark/utils/formats.hpp +++ b/benchmark/utils/formats.hpp @@ -213,9 +213,9 @@ void check_ell_admissibility(const gko::matrix_data& data) template auto create_matrix_type(Args&&... args) { - return [&](std::shared_ptr exec) + return [=](std::shared_ptr exec) -> std::unique_ptr { - return MatrixType::create(std::move(exec), std::forward(args)...); + return MatrixType::create(std::move(exec), args...); }; } diff --git a/doc/examples/examples.hpp.in b/doc/examples/examples.hpp.in index bc42e51a85b..5e685e2aa7b 100644 --- a/doc/examples/examples.hpp.in +++ b/doc/examples/examples.hpp.in @@ -66,7 +66,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
  • -DGINKGO_BUILD_HIP=ON option for AMD or NVIDIA GPUs. *
  • -DGINKGO_BUILD_DPCPP=ON option for Intel GPUs (and * possibly any other platform). - * * * * @anchor ExampleConnectionGraph