Skip to content

Commit f9599ec

Browse files
author
Michael McLeod
committed
Remove average intensity
1 parent 401492e commit f9599ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/tests/algo_factory.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,9 @@ TEST_CASE("fb_factory_stochastic") {
292292

293293
auto soln_flat = Vector<t_complex>::Map(solution.data(), solution.size());
294294
double brightness = soln_flat.real().cwiseAbs().maxCoeff();
295-
SOPT_HIGH_LOG("Average intensity = {}", average_intensity);
296295
double mse = (soln_flat - diagnostic.x).real().squaredNorm() / solution.size();
297296
SOPT_HIGH_LOG("MSE = {}", mse);
298-
CHECK(mse <= average_intensity * 5e-2);
297+
CHECK(mse <= brightness * 5e-2);
299298
}
300299
#endif
301300

0 commit comments

Comments
 (0)