v1.0.0-rc.112 (#18)
All checks were successful
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 8m53s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 9m40s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 8m25s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 8m17s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 9m5s
Build Packages / Generate python client (push) Successful in 34s
Build Packages / Build documentation (push) Successful in 42s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky8) (push) Successful in 8m35s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 8m2s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 8m40s
Build Packages / build:rpm (rocky9) (push) Successful in 9m14s
Build Packages / Unit tests (push) Successful in 1h15m9s

This is an UNSTABLE release and not recommended for production use (please use rc.11 instead).

* jfjoch_broker: Experimental rotation (3D) indexing
* jfjoch_broker: Minor fix to error in optimizer potentially returning NaN values

Reviewed-on: #18
Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
Co-committed-by: Filip Leonarski <filip.leonarski@psi.ch>
This commit was merged in pull request #18.
This commit is contained in:
2025-11-30 17:39:22 +01:00
committed by leonarski_f
parent 9bc71cfddc
commit 06949caf1a
186 changed files with 1133 additions and 537 deletions

View File

@@ -54,8 +54,8 @@ TEST_CASE("FastFeedbackIndexer","[Indexing]") {
experiment.SetUnitCell(c);
indexer->Setup(experiment);
auto ret = indexer->Run(recip, recip.size());
REQUIRE(!ret.empty());
auto ret = indexer->Run(recip);
REQUIRE(!ret.lattice.empty());
//auto uc = ret[0].GetUnitCell();
//REQUIRE(c.a == Catch::Approx(uc.a));
@@ -64,9 +64,9 @@ TEST_CASE("FastFeedbackIndexer","[Indexing]") {
double err[3] = {0.0, 0.0, 0.0};
for (const auto &iter: recip) {
err[0] += round_err(ret[0].Vec0() * iter);
err[1] += round_err(ret[0].Vec1() * iter);
err[2] += round_err(ret[0].Vec2() * iter);
err[0] += round_err(ret.lattice[0].Vec0() * iter);
err[1] += round_err(ret.lattice[0].Vec1() * iter);
err[2] += round_err(ret.lattice[0].Vec2() * iter);
}
REQUIRE (err[0] < 0.001 * recip.size());
REQUIRE (err[1] < 0.001 * recip.size());