Skip to content

Commit

Permalink
Merge pull request #249 from toxa81/develop
Browse files Browse the repository at this point in the history
fix formatting
  • Loading branch information
toxa81 authored Aug 20, 2018
2 parents 27c6567 + d89e7f9 commit c3de19c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sirius_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ void sirius_get_stress_tensor(void* const* handler__,
auto& stress_tensor = gs.stress();

std::map<std::string, matrix3d<double> (sirius::Stress::*)(void)> func = {
{"total", &sirius::Stress::calc_stress_total},
{"total", &sirius::Stress::calc_stress_total},
{"vloc", &sirius::Stress::calc_stress_vloc},
{"har", &sirius::Stress::calc_stress_har},
{"ewald", &sirius::Stress::calc_stress_ewald},
Expand Down Expand Up @@ -1893,4 +1893,5 @@ void sirius_generate_xc_potential(void* const* handler__,
gs.potential().effective_magnetic_field(2).copy_to_global_ptr(&bxcmt(0, 0, 0, 1), &bxcrg(0, 1));
}
}

} // extern "C"

0 comments on commit c3de19c

Please sign in to comment.