hkl_key: Dedicated header

This commit is contained in:
2026-01-22 12:03:46 +01:00
parent 6f653866e3
commit 8c7bf61fa7
6 changed files with 83 additions and 10 deletions

View File

@@ -8,6 +8,7 @@
#include <stdexcept>
#include "../common/ResolutionShells.h"
#include "../common/hkl_key.h"
IntegrateMap ParseXdsIntegrateHkl(const std::string& filename) {
std::ifstream in(filename);
@@ -47,7 +48,7 @@ IntegrateMap ParseXdsIntegrateHkl(const std::string& filename) {
entry.tail.push_back(v);
}
result[hkl_key_16(-h, k, l)].push_back(std::move(entry));
result[hkl_key(-h, k, l)].push_back(std::move(entry));
}
return result;