Skip to content

Commit 08e4117

Browse files
author
Michael McLeod
committed
put ifdef guards back
1 parent 52d1f43 commit 08e4117

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpp/tests/algo_factory.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ TEST_CASE("fb_factory") {
193193
CHECK(mse <= average_intensity * 1e-3);
194194
}
195195

196+
#ifdef PURIFY_H5
196197
TEST_CASE("fb_factory_stochastic") {
197198
const std::string &test_dir = "expected/fb/";
198199
const std::string &input_data_path = data_filename(test_dir + "input_data.vis");
@@ -299,6 +300,7 @@ TEST_CASE("fb_factory_stochastic") {
299300
SOPT_HIGH_LOG("MSE = {}", mse);
300301
CHECK(mse <= average_intensity * 1e-3);
301302
}
303+
#endif
302304

303305
#ifdef PURIFY_ONNXRT
304306
TEST_CASE("tf_fb_factory") {

0 commit comments

Comments
 (0)