To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 8a4d352a authored by Bastian Telgen's avatar Bastian Telgen
Browse files

fix wrong matrix convention

parent 5ec890e0
......@@ -47,7 +47,7 @@ const auto read_config = [](std::ifstream &fConfig, std::size_t id) {
for (std::size_t i = 0; i < Dimension; i++) {
for (std::size_t j = 0; j < Dimension; j++) {
std::getline(linestream, value, ',');
config.lattice_vectors[i][j] = std::atof(value.c_str());
config.lattice_vectors[j][i] = std::atof(value.c_str());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment