Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Clang Robot committed Nov 6, 2023
1 parent 93e48e8 commit 18415d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/macis/fcidump.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ void read_fcidump_1body(std::string fname, col_major_span<double, 2> T) {
void read_fcidump_1body(std::string fname, double* T, size_t LDT) {
auto norb = read_fcidump_norb(fname);
col_major_span<double, 2> T_map(T, LDT, norb);
read_fcidump_1body(fname, Kokkos::submdspan(T_map, std::pair{0, norb},
Kokkos::full_extent));
read_fcidump_1body(
fname, Kokkos::submdspan(T_map, std::pair{0, norb}, Kokkos::full_extent));
}

void read_fcidump_2body(std::string fname, col_major_span<double, 4> V) {
Expand Down Expand Up @@ -177,8 +177,8 @@ void read_fcidump_2body(std::string fname, double* V, size_t LDV) {
auto norb = read_fcidump_norb(fname);
col_major_span<double, 4> V_map(V, LDV, LDV, LDV, norb);
auto sl = std::pair{0, norb};
read_fcidump_2body(
fname, Kokkos::submdspan(V_map, sl, sl, sl, Kokkos::full_extent));
read_fcidump_2body(fname,
Kokkos::submdspan(V_map, sl, sl, sl, Kokkos::full_extent));
}

bool is_2body_diagonal(std::string fname) {
Expand Down
4 changes: 2 additions & 2 deletions tests/fock_matrices.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ TEST_CASE("Fock Matrices") {
}

macis::rank4_span<double> V_span(V.data(), norb, norb, norb, norb);
auto V_act_span = Kokkos::submdspan(V_span, act_range, act_range,
act_range, act_range);
auto V_act_span =
Kokkos::submdspan(V_span, act_range, act_range, act_range, act_range);
macis::rank4_span<double> Va(V_active.data(), nact.get(), nact.get(),
nact.get(), nact.get());
for(auto i = 0; i < nact.get(); ++i)
Expand Down

0 comments on commit 18415d5

Please sign in to comment.