Tests: the FFBIDX stills test builds only with CUDA, as its helpers do

IndexAndRefine_StillRhombohedralFFBIDX uses MakeRotation/RotateLattice, which are defined inside the
file's JFJOCH_USE_CUDA block, and FFBIDX itself exists only with CUDA, so a non-CUDA build failed to
compile jfjoch_test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UqXYdL4qBGYRiSXSGXfCLu
This commit is contained in:
leonarski_fandClaude Opus 5.5 committed 2026-11-04 07:19:26 +01:00
1 parent 5c25f13b6e
commit 2668550eb3
1 file changed
+2
+2
View File
@@ -1105,6 +1105,7 @@ TEST_CASE("PostIndexingRefinement_CentredFalseOrientationScoresLower", "[Indexin
CHECK(SameBasis(out[0], truth_p));
}
#ifdef JFJOCH_USE_CUDA
TEST_CASE("IndexAndRefine_StillRhombohedralFFBIDX", "[Indexing]") {
// The per-frame entry point every stills flow goes through (the broker's FPGA and SIMPLON receivers,
// live rugnux stills, offline rugnux): an R3 crystal in the hexagonal setting, given as its space group
@@ -1153,3 +1154,4 @@ TEST_CASE("IndexAndRefine_StillRhombohedralFFBIDX", "[Indexing]") {
CHECK(obeying == indexed);
}
}
#endif