From 87dace203c92a08328676e8407d6368284bf5e8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raffaele=20Solc=C3=A0?= Date: Tue, 28 May 2024 19:12:47 +0200 Subject: [PATCH] format --- include/dlaf/util_matrix.h | 6 +++--- miniapp/miniapp_triangular_solver.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/dlaf/util_matrix.h b/include/dlaf/util_matrix.h index 214ef115d6..6046b3bd75 100644 --- a/include/dlaf/util_matrix.h +++ b/include/dlaf/util_matrix.h @@ -233,7 +233,8 @@ void set(Matrix& matrix, ElementGetter el_f) { using TileType = typename std::decay_t::TileType; auto set_f = [tile_origin, el_f = el_f](const TileType& tile) { for (auto ij_el_tl : iterate_range2d(tile.size())) { - GlobalElementIndex ij_el_gl(tile_origin.row() + ij_el_tl.row(), tile_origin.col() + ij_el_tl.col()); + GlobalElementIndex ij_el_gl(tile_origin.row() + ij_el_tl.row(), + tile_origin.col() + ij_el_tl.col()); tile(ij_el_tl) = el_f(ij_el_gl); } }; @@ -431,8 +432,7 @@ void set_random_hermitian_with_offset(Matrix& matrix, const Size if (ij_gl.row() == ij_gl.col()) internal::set_diagonal_tile(tile, random_value, offset_value); else - internal::set_lower_and_upper_tile(tile, random_value, full_tile_size, ij_gl, dist, - band_size); + internal::set_lower_and_upper_tile(tile, random_value, full_tile_size, ij_gl, dist, band_size); }; dlaf::internal::transformDetach(dlaf::internal::Policy(thread_stacksize::nostack), diff --git a/miniapp/miniapp_triangular_solver.cpp b/miniapp/miniapp_triangular_solver.cpp index 4e20e25c5a..4b501ec127 100644 --- a/miniapp/miniapp_triangular_solver.cpp +++ b/miniapp/miniapp_triangular_solver.cpp @@ -44,13 +44,13 @@ using dlaf::DefaultDevice_v; using dlaf::Device; using dlaf::GlobalElementIndex; using dlaf::GlobalElementSize; -using dlaf::matrix::Matrix; -using dlaf::matrix::MatrixMirror; using dlaf::SizeType; using dlaf::TileElementSize; using dlaf::comm::Communicator; using dlaf::comm::CommunicatorGrid; using dlaf::common::Ordering; +using dlaf::matrix::Matrix; +using dlaf::matrix::MatrixMirror; struct Options : dlaf::miniapp::MiniappOptions {