Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
Co-authored-by: tcojean <tcojean@users.noreply.github.com>
  • Loading branch information
ginkgo-bot and tcojean committed Mar 10, 2021
1 parent 7e4509b commit 1d5fa9e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/ginkgo/core/matrix/dense.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ class Dense
template <typename Matrix, typename... TArgs>
std::unique_ptr<Matrix> initialize(
size_type stride, std::initializer_list<typename Matrix::value_type> vals,
std::shared_ptr<const Executor> exec, TArgs &&...create_args)
std::shared_ptr<const Executor> exec, TArgs &&... create_args)
{
using dense = matrix::Dense<typename Matrix::value_type>;
size_type num_rows = vals.size();
Expand Down Expand Up @@ -818,7 +818,7 @@ std::unique_ptr<Matrix> initialize(
template <typename Matrix, typename... TArgs>
std::unique_ptr<Matrix> initialize(
std::initializer_list<typename Matrix::value_type> vals,
std::shared_ptr<const Executor> exec, TArgs &&...create_args)
std::shared_ptr<const Executor> exec, TArgs &&... create_args)
{
return initialize<Matrix>(1, vals, std::move(exec),
std::forward<TArgs>(create_args)...);
Expand Down Expand Up @@ -851,7 +851,7 @@ std::unique_ptr<Matrix> initialize(
size_type stride,
std::initializer_list<std::initializer_list<typename Matrix::value_type>>
vals,
std::shared_ptr<const Executor> exec, TArgs &&...create_args)
std::shared_ptr<const Executor> exec, TArgs &&... create_args)
{
using dense = matrix::Dense<typename Matrix::value_type>;
size_type num_rows = vals.size();
Expand Down Expand Up @@ -899,7 +899,7 @@ template <typename Matrix, typename... TArgs>
std::unique_ptr<Matrix> initialize(
std::initializer_list<std::initializer_list<typename Matrix::value_type>>
vals,
std::shared_ptr<const Executor> exec, TArgs &&...create_args)
std::shared_ptr<const Executor> exec, TArgs &&... create_args)
{
return initialize<Matrix>(vals.size() > 0 ? begin(vals)->size() : 0, vals,
std::move(exec),
Expand Down

0 comments on commit 1d5fa9e

Please sign in to comment.